@@ -1180,27 +1180,6 @@ fn main() {
1180
1180
```
1181
1181
"## ,
1182
1182
1183
- E0296 : r##"
1184
- This error indicates that the given recursion limit could not be parsed. Ensure
1185
- that the value provided is a positive integer between quotes.
1186
-
1187
- Erroneous code example:
1188
-
1189
- ```compile_fail,E0296
1190
- #![recursion_limit]
1191
-
1192
- fn main() {}
1193
- ```
1194
-
1195
- And a working example:
1196
-
1197
- ```
1198
- #![recursion_limit="1000"]
1199
-
1200
- fn main() {}
1201
- ```
1202
- "## ,
1203
-
1204
1183
E0308 : r##"
1205
1184
This error occurs when the compiler was unable to infer the concrete type of a
1206
1185
variable. It can occur for several cases, the most common of which is a
@@ -2093,20 +2072,6 @@ trait Foo { }
2093
2072
```
2094
2073
"## ,
2095
2074
2096
- E0702 : r##"
2097
- This error indicates that a `#[non_exhaustive]` attribute had a value. The
2098
- `#[non_exhaustive]` should be empty.
2099
-
2100
- Examples of erroneous code:
2101
-
2102
- ```compile_fail,E0702
2103
- # #![feature(non_exhaustive)]
2104
-
2105
- #[non_exhaustive(anything)]
2106
- struct Foo;
2107
- ```
2108
- "## ,
2109
-
2110
2075
E0718 : r##"
2111
2076
This error indicates that a `#[lang = ".."]` attribute was placed
2112
2077
on the wrong type of item.
@@ -2138,6 +2103,7 @@ register_diagnostics! {
2138
2103
E0280 , // requirement is not satisfied
2139
2104
E0284 , // cannot resolve type
2140
2105
// E0285, // overflow evaluation builtin bounds
2106
+ // E0296, // replaced with a generic attribute input check
2141
2107
// E0300, // unexpanded macro
2142
2108
// E0304, // expected signed integer constant
2143
2109
// E0305, // expected constant
@@ -2180,4 +2146,5 @@ register_diagnostics! {
2180
2146
E0709 , // multiple different lifetimes used in arguments of `async fn`
2181
2147
E0710 , // an unknown tool name found in scoped lint
2182
2148
E0711 , // a feature has been declared with conflicting stability attributes
2149
+ // E0702, // replaced with a generic attribute input check
2183
2150
}
0 commit comments