-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
rust-lang/libc#2116 made libc::RENAME_EXCHANGE
unsigned:
error[E0308]: mismatched types
--> src/dir.rs:371:13
|
371 | libc::RENAME_EXCHANGE)
| ^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32`
|
help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
|
371 | libc::RENAME_EXCHANGE.try_into().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Metadata
Metadata
Assignees
Labels
No labels