File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ error: an `#[unstable]` annotation here has no effect
2+ --> $DIR/unstable-feature-bound-no-effect.rs:17:1
3+ |
4+ LL | #[unstable(feature = "feat_moo", issue = "none" )]
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6+ |
7+ = note: see issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information
8+ = note: `#[deny(ineffective_unstable_trait_impl)]` on by default
9+
10+ error: module has missing stability attribute
11+ --> $DIR/unstable-feature-bound-no-effect.rs:1:1
12+ |
13+ LL | / #![allow(internal_features)] // Enabled to use #![feature(staged_api)] and #![feature(impl_stability)]
14+ LL | |
15+ LL | | #![feature(staged_api)] // Enabled to use #![unstable(feature = "feat_foo", issue = "none")]
16+ LL | | #![feature(impl_stability)] // Enabled to use #[unstable_feature_bound(feat_foo)]
17+ ... |
18+ LL | | fn main() {}
19+ | |____________^
20+
21+ error: aborting due to 2 previous errors
22+
You can’t perform that action at this time.
0 commit comments