mirror of https://git.FreeBSD.org/ports.git
error[E0308]: mismatched types --> src/path.rs:749:13 | 748 | let remoteness = remoteness_via_statfs( | --------------------- arguments to this function are incorrect 749 | libc::statfs, | ^^^^^^^^^^^^ expected fn pointer, found fn item | = note: expected fn pointer `unsafe extern "C" fn(*const i8, _) -> _` found fn item `unsafe extern "C" fn(*const u8, _) -> _ {libc::statfs}` note: function defined here --> src/path.rs:712:12 | 712 | fn remoteness_via_statfs<StatFS, Flags>( | ^^^^^^^^^^^^^^^^^^^^^ 713 | statfn: unsafe extern "C" fn(*const i8, *mut StatFS) -> libc::c_int, | ------------------------------------------------------------------- error[E0308]: mismatched types --> src/path.rs:725:34 | 725 | if unsafe { (statfn)(path.as_ptr(), buf.as_mut_ptr()) } < 0 { | -------- ^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` |
||
---|---|---|
.. | ||
44bsd-csh | ||
anongitssh | ||
antibody | ||
ast-ksh | ||
atuin | ||
bash | ||
bash-completion | ||
bash-completion-freebsd | ||
bash-completion-zfs | ||
bash-static | ||
bashc | ||
bicon | ||
bosh | ||
carapace | ||
ch | ||
dash | ||
elvish | ||
envy | ||
es | ||
etsh | ||
fd | ||
fish | ||
git-prompt.zsh | ||
heirloom-sh | ||
ibsh | ||
ion | ||
jailkit | ||
klish | ||
ksh | ||
ksh-devel | ||
ksh93 | ||
libpowershell-native | ||
mksh | ||
modernish | ||
murex | ||
nologinmsg | ||
nsh | ||
nu_plugin_formats | ||
nu_plugin_gstat | ||
nu_plugin_inc | ||
nu_plugin_polars | ||
nu_plugin_query | ||
nushell | ||
ohmyzsh | ||
oils | ||
oksh | ||
p5-Bash-Completion | ||
p5-Shell-Perl | ||
p5-Term-Bash-Completion-Generator | ||
p5-Term-ShellUI | ||
pdksh | ||
pear-PHP_Shell | ||
powershell | ||
psh | ||
rc | ||
rubygem-shellwords | ||
rush | ||
sash | ||
schemesh | ||
scponly | ||
sheldon | ||
shell-hist | ||
shellharden | ||
starship | ||
switchBashZsh | ||
tcshrc | ||
v7sh | ||
viewglob | ||
vshnu | ||
wcd | ||
xonsh | ||
yash | ||
zsh | ||
zsh-antigen | ||
zsh-autosuggestions | ||
zsh-completions | ||
zsh-fast-syntax-highlighting | ||
zsh-navigation-tools | ||
zsh-syntax-highlighting | ||
zsh-you-should-use | ||
Makefile |