mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
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() {}
|