about summary refs log tree commit diff
path: root/tests/ui/delegation/glob-bad-path.rs
blob: 4ac9d68e8dd1cf0b2ceea1aeb7b5d95314c8a121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(fn_delegation)]
#![allow(incomplete_features)]

trait Trait {}
struct S;

impl Trait for u8 {
    reuse unresolved::*; //~ ERROR failed to resolve: use of unresolved module or unlinked crate `unresolved`
    reuse S::*; //~ ERROR expected trait, found struct `S`
}

fn main() {}