mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 01:24:05 +00:00
f9509d3574
* Check the path length first * Use `is_from_proc_macro` * Use symbols instead of strings when checking crate names
14 lines
422 B
Text
14 lines
422 B
Text
error: consider bringing this path into scope with the `use` keyword
|
|
--> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:15:13
|
|
|
|
|
LL | let _ = ::m1::m2::X;
|
|
| ^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:6:9
|
|
|
|
|
LL | #![deny(clippy::absolute_paths)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|