rust/tests/ui/delegation/glob-traitless-qpath.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
253 B
Rust
Raw Normal View History

#![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() {}