2021-04-08 15:50:13 +00:00
|
|
|
error: using a non-octal value to set unix file permissions
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/non_octal_unix_permissions.rs:12:18
|
2021-04-08 15:50:13 +00:00
|
|
|
|
|
|
|
|
LL | options.mode(440);
|
|
|
|
| ^^^ help: consider using an octal literal instead: `0o440`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::non-octal-unix-permissions` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::non_octal_unix_permissions)]`
|
2021-04-08 15:50:13 +00:00
|
|
|
|
|
|
|
error: using a non-octal value to set unix file permissions
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/non_octal_unix_permissions.rs:17:47
|
2021-04-08 15:50:13 +00:00
|
|
|
|
|
|
|
|
LL | let _permissions = Permissions::from_mode(647);
|
|
|
|
| ^^^ help: consider using an octal literal instead: `0o647`
|
|
|
|
|
|
|
|
error: using a non-octal value to set unix file permissions
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/non_octal_unix_permissions.rs:26:26
|
2021-04-08 15:50:13 +00:00
|
|
|
|
|
|
|
|
LL | permissions.set_mode(644);
|
|
|
|
| ^^^ help: consider using an octal literal instead: `0o644`
|
|
|
|
|
|
|
|
error: using a non-octal value to set unix file permissions
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/non_octal_unix_permissions.rs:33:18
|
2021-04-08 15:50:13 +00:00
|
|
|
|
|
|
|
|
LL | builder.mode(755);
|
|
|
|
| ^^^ help: consider using an octal literal instead: `0o755`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|