Closed
Description
Code
error[E0531]: cannot find unit struct, unit variant or constant `ENOTSUP` in crate `libc`
--> compiler/rustc_data_structures/src/flock.rs:59:57
|
59 | matches!(err.raw_os_error(), Some(libc::ENOTSUP) | Some(libc::ENOSYS))
| ^^^^^^^ not found in `libc`
Meta
rustc --version --verbose
:
./rustc --version --verbose
rustc 1.56.1-nightly
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.56.1-nightly
LLVM version: 13.0.0
Error output
<output>
Backtrace
<backtrace>