rust/tests/ui/unstable-feature-bound/unstable-feature-exact-symbol.fail.stderr
2025-07-15 13:48:30 +00:00

18 lines
576 B
Plaintext

error: unstable feature `feat_moo` is used without being enabled.
--> $DIR/unstable-feature-exact-symbol.rs:37:5
|
LL | Bar::moo();
| ^^^
|
= help: The feature can be enabled by marking the current item with `#[unstable_feature_bound(feat_moo)]`
note: required for `Bar` to implement `Moo`
--> $DIR/unstable-feature-exact-symbol.rs:29:6
|
LL | #[unstable_feature_bound(feat_moo)]
| ----------------------------------- unsatisfied trait bound introduced here
LL | impl Moo for Bar {
| ^^^ ^^^
error: aborting due to 1 previous error