rust/tests/ui/specialization/min_specialization/impl-on-nonexisting.rs

8 lines
148 B
Rust

#![feature(min_specialization)]
trait Trait {}
impl Trait for NonExistent {}
//~^ ERROR cannot find type `NonExistent` in this scope
fn main() {}