blob: 5a683884238ad317f62c05f71c6dd303c06c2b66 [file] [log] [blame]
#![allow(internal_features)]
#![feature(staged_api)]
#![allow(dead_code)]
#![stable(feature = "a", since = "1.1.1" )]
// Lint against the usage of both #[unstable_feature_bound] and #[stable] on the
// same item.
#[stable(feature = "a", since = "1.1.1")]
#[unstable_feature_bound(feat_bar)]
fn bar() {}
//~^ ERROR item annotated with `#[unstable_feature_bound]` should not be stable
fn main() {}