rust/tests/ui/delegation/glob-bad-path.rs
2024-06-14 19:27:51 +03:00

13 lines
281 B
Rust

#![feature(fn_delegation)]
#![allow(incomplete_features)]
trait Trait {}
struct S;
impl Trait for u8 {
reuse unresolved::*; //~ ERROR failed to resolve: use of undeclared crate or module `unresolved`
reuse S::*; //~ ERROR expected trait, found struct `S`
}
fn main() {}