rustc/tests/ui/stability-attribute/unresolved_stability_lint.rs
2023-09-11 11:26:34 +02:00

9 lines
197 B
Rust

#![feature(staged_api)]
#![stable(feature = "uwu", since = "1.0.0")]
#[unstable(feature = "foo", issue = "none")]
impl Foo for () {}
//~^ ERROR cannot find trait `Foo` in this scope
fn main() {}