summaryrefslogtreecommitdiffstats
path: root/tests/ui/stability-attribute/unresolved_stability_lint.rs
blob: 818d228bc91c5b08828d718dde3862bf239a1ebd (plain)
1
2
3
4
5
6
7
8
#![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() {}