Skip to content

Commit 0a3c00b

Browse files
committed
add in stderrr
1 parent 50d7616 commit 0a3c00b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+

0 commit comments

Comments
 (0)