Skip to content

Commit 3ff1222

Browse files
Comment E0222 instead of removing it
1 parent ccb459e commit 3ff1222

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,8 @@ register_diagnostics! {
15561556
E0219, // associated type defined in higher-ranked supertrait
15571557
E0220, // associated type not found for type parameter
15581558
E0221, // ambiguous associated type in bounds
1559+
//E0222, // Error code E0045 (variadic function must have C calling
1560+
// convention) duplicate
15591561
E0223, // ambiguous associated type
15601562
E0224, // at least one non-builtin train is required for an object type
15611563
E0225, // only the builtin traits can be used as closure or object bounds

0 commit comments

Comments
 (0)