about summary refs log tree commit diff
path: root/tests/ui/delegation/glob-traitless-qpath.rs
blob: abf4b3180ed2135dffea2ababe837ee31f5f1205 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![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() {}