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

8 lines
148 B
Rust
Raw Normal View History

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