@@ -1180,27 +1180,6 @@ fn main() {
11801180```
11811181"## ,
11821182
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-
12041183E0308 : r##"
12051184This error occurs when the compiler was unable to infer the concrete type of a
12061185variable. It can occur for several cases, the most common of which is a
@@ -2093,20 +2072,6 @@ trait Foo { }
20932072```
20942073"## ,
20952074
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-
21102075E0718 : r##"
21112076This error indicates that a `#[lang = ".."]` attribute was placed
21122077on the wrong type of item.
@@ -2138,6 +2103,7 @@ register_diagnostics! {
21382103 E0280 , // requirement is not satisfied
21392104 E0284 , // cannot resolve type
21402105// E0285, // overflow evaluation builtin bounds
2106+ // E0296, // replaced with a generic attribute input check
21412107// E0300, // unexpanded macro
21422108// E0304, // expected signed integer constant
21432109// E0305, // expected constant
@@ -2180,4 +2146,5 @@ register_diagnostics! {
21802146 E0709 , // multiple different lifetimes used in arguments of `async fn`
21812147 E0710 , // an unknown tool name found in scoped lint
21822148 E0711 , // a feature has been declared with conflicting stability attributes
2149+ // E0702, // replaced with a generic attribute input check
21832150}
0 commit comments