| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:11:5 |
| | |
| LL | foo::bar(); |
| | ^^^^^^^^ |
| | |
| note: the lint level is defined here |
| --> $DIR/lint-qualification.rs:2:9 |
| | |
| LL | #![deny(unused_qualifications)] |
| | ^^^^^^^^^^^^^^^^^^^^^ |
| help: remove the unnecessary path segments |
| | |
| LL - foo::bar(); |
| LL + bar(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:12:5 |
| | |
| LL | crate::foo::bar(); |
| | ^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - crate::foo::bar(); |
| LL + bar(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:17:13 |
| | |
| LL | let _ = std::string::String::new(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _ = std::string::String::new(); |
| LL + let _ = String::new(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:18:13 |
| | |
| LL | let _ = ::std::env::current_dir(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _ = ::std::env::current_dir(); |
| LL + let _ = std::env::current_dir(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:20:12 |
| | |
| LL | let _: std::vec::Vec<String> = std::vec::Vec::<String>::new(); |
| | ^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _: std::vec::Vec<String> = std::vec::Vec::<String>::new(); |
| LL + let _: Vec<String> = std::vec::Vec::<String>::new(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:20:36 |
| | |
| LL | let _: std::vec::Vec<String> = std::vec::Vec::<String>::new(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _: std::vec::Vec<String> = std::vec::Vec::<String>::new(); |
| LL + let _: std::vec::Vec<String> = Vec::<String>::new(); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:25:12 |
| | |
| LL | let _: std::fmt::Result = Ok(()); |
| | ^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _: std::fmt::Result = Ok(()); |
| LL + let _: fmt::Result = Ok(()); |
| | |
| |
| error: unnecessary qualification |
| --> $DIR/lint-qualification.rs:27:13 |
| | |
| LL | let _ = <bool as ::std::default::Default>::default(); // issue #121999 |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: remove the unnecessary path segments |
| | |
| LL - let _ = <bool as ::std::default::Default>::default(); // issue #121999 |
| LL + let _ = <bool as Default>::default(); // issue #121999 |
| | |
| |
| error: aborting due to 8 previous errors |
| |