@@ -64,15 +64,15 @@ error: `#[deprecated]` attribute cannot be used on where predicates
64
64
LL | #[deprecated] T: Trait,
65
65
| ^^^^^^^^^^^^^
66
66
|
67
- = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, crates
67
+ = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, crates
68
68
69
69
error: `#[deprecated]` attribute cannot be used on where predicates
70
70
--> $DIR/unsupported_attribute.rs:25:5
71
71
|
72
72
LL | #[deprecated] 'a: 'static,
73
73
| ^^^^^^^^^^^^^
74
74
|
75
- = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, crates
75
+ = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, crates
76
76
77
77
error: `#[automatically_derived]` attribute cannot be used on where predicates
78
78
--> $DIR/unsupported_attribute.rs:26:5
0 commit comments