@@ -19,36 +19,36 @@ E0533: r##"
19
19
```compile_fail,E0533
20
20
#[export_name]
21
21
pub fn something() {}
22
+
23
+ fn main() {}
22
24
```
23
25
"## ,
24
26
25
27
}
26
28
27
-
28
29
register_diagnostics ! {
29
- E0534 ,
30
- E0535 ,
31
- E0536 ,
32
- E0537 ,
33
- E0538 ,
34
- E0539 ,
35
- E0540 ,
36
- E0541 ,
37
- E0542 ,
38
- E0543 ,
39
- E0544 ,
40
- E0545 ,
41
- E0546 ,
42
- E0547 ,
43
- E0548 ,
44
- E0549 ,
45
- E0550 ,
46
- E0551 ,
47
- E0552 ,
48
- E0553 ,
49
- E0554 ,
50
- E0555 ,
51
- E0556 ,
52
- E0557 ,
53
- E0558 ,
30
+ E0534 , // expected one argument
31
+ E0535 , // invalid argument
32
+ E0536 , // expected 1 cfg-pattern
33
+ E0537 , // invalid predicate
34
+ E0538 , // multiple [same] items
35
+ E0539 , // incorrect meta item
36
+ E0540 , // multiple rustc_deprecated attributes
37
+ E0541 , // unknown meta item
38
+ E0542 , // missing 'since'
39
+ E0543 , // missing 'reason'
40
+ E0544 , // multiple stability levels
41
+ E0545 , // incorrect 'issue'
42
+ E0546 , // missing 'feature'
43
+ E0547 , // missing 'issue'
44
+ E0548 , // incorrect stability attribute type
45
+ E0549 , // rustc_deprecated attribute must be paired with either stable or unstable attribute
46
+ E0550 , // multiple deprecated attributes
47
+ E0551 , // incorrect meta item
48
+ E0552 , // unrecognized representation hint
49
+ E0553 , // unrecognized enum representation hint
50
+ E0554 , // #[feature] may not be used on the [] release channel
51
+ E0555 , // malformed feature attribute, expected #![feature(...)]
52
+ E0556 , // malformed feature, expected just one word
53
+ E0557 , // feature has been removed
54
54
}
0 commit comments