mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 21:29:08 +00:00
18 lines
577 B
Plaintext
18 lines
577 B
Plaintext
error: unstable feature `feat_bar` is used without being enabled.
|
|
--> $DIR/unstable_feature_bound_free_fn.rs:36:5
|
|
|
|
|
LL | bar();
|
|
| ^^^^^
|
|
|
|
|
= help: The feature can be enabled by marking the current item with `#[unstable_feature_bound(feat_bar)]`
|
|
note: required by a bound in `bar`
|
|
--> $DIR/unstable_feature_bound_free_fn.rs:29:1
|
|
|
|
|
LL | #[unstable_feature_bound(feat_bar)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `bar`
|
|
LL | fn bar() {
|
|
| --- required by a bound in this function
|
|
|
|
error: aborting due to 1 previous error
|
|
|