2023-07-31 16:53:53 -05:00
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
2024-08-24 16:34:45 -05:00
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:14:13
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
LL | let _ = std::path::is_separator(' ');
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:7:9
|
|
|
|
|
|
|
|
|
LL | #![deny(clippy::absolute_paths)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:20:13
|
|
|
|
|
|
|
|
|
LL | let _ = ::std::path::MAIN_SEPARATOR;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:25:13
|
|
|
|
|
|
|
|
|
LL | let _ = std::collections::hash_map::HashMap::<i32, i32>::new();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
2024-08-24 16:34:45 -05:00
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:28:31
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
LL | let _: &std::path::Path = std::path::Path::new("");
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
2024-08-24 16:34:45 -05:00
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:28:13
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
LL | let _: &std::path::Path = std::path::Path::new("");
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
2024-08-24 16:34:45 -05:00
|
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:43:13
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
LL | let _ = std::option::Option::None::<i32>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-07-31 16:53:53 -05:00
|
|
|
|
2024-08-24 16:34:45 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2023-07-31 16:53:53 -05:00
|
|
|
|