rust/tests/ui/delegation/glob-traitless-qpath.rs
2024-06-22 19:57:19 +03:00

12 lines
253 B
Rust

#![feature(fn_delegation)]
#![allow(incomplete_features)]
struct S;
impl S {
reuse <u8>::*; //~ ERROR qualified path without a trait in glob delegation
reuse <()>::*; //~ ERROR qualified path without a trait in glob delegation
}
fn main() {}