2025-08-09 20:41:01 +02:00
|
|
|
error: `#[unstable_feature_bound]` attribute cannot be used on required trait methods
|
2025-07-14 13:30:36 +00:00
|
|
|
--> $DIR/unstable_inherent_method.rs:11:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[unstable_feature_bound(foo)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2025-08-09 20:41:01 +02:00
|
|
|
|
|
2025-08-16 18:04:58 +02:00
|
|
|
= help: `#[unstable_feature_bound]` can be applied to functions, trait impl blocks, and traits
|
2025-07-14 13:30:36 +00:00
|
|
|
|
2025-08-09 20:41:01 +02:00
|
|
|
error: `#[unstable_feature_bound]` attribute cannot be used on trait methods in impl blocks
|
2025-07-14 13:30:36 +00:00
|
|
|
--> $DIR/unstable_inherent_method.rs:18:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[unstable_feature_bound(foo)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2025-08-09 20:41:01 +02:00
|
|
|
|
|
2025-08-16 18:04:58 +02:00
|
|
|
= help: `#[unstable_feature_bound]` can be applied to functions, trait impl blocks, and traits
|
2025-07-14 13:30:36 +00:00
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|