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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}