f9509d3574
* Check the path length first * Use `is_from_proc_macro` * Use symbols instead of strings when checking crate names
15 lines
491 B
Plaintext
15 lines
491 B
Plaintext
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();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> tests/ui-toml/absolute_paths/absolute_paths.rs:7:9
|
|
|
|
|
LL | #![deny(clippy::absolute_paths)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|