mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
13 lines
281 B
Rust
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() {}
|