85bad8d1bf
# Conflicts: # tests/ui/lint/lint-qualification.stderr
13 lines
264 B
Rust
13 lines
264 B
Rust
// Checks that `unused_qualifications` don't fire on explicit global paths.
|
|
// Issue: <https://github.com/rust-lang/rust/issues/122374>.
|
|
|
|
//@ check-pass
|
|
|
|
#![deny(unused_qualifications)]
|
|
|
|
pub fn bar() -> u64 {
|
|
::std::default::Default::default()
|
|
}
|
|
|
|
fn main() {}
|