From 3ff12223dc56f0a5731ae8d7b2811a83f9e4b15c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 22 Jun 2015 22:10:17 +0200 Subject: [PATCH] Comment E0222 instead of removing it --- src/librustc_typeck/diagnostics.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 67ccdb881c1..16af8c6961e 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -1556,6 +1556,8 @@ register_diagnostics! { E0219, // associated type defined in higher-ranked supertrait E0220, // associated type not found for type parameter E0221, // ambiguous associated type in bounds + //E0222, // Error code E0045 (variadic function must have C calling + // convention) duplicate E0223, // ambiguous associated type E0224, // at least one non-builtin train is required for an object type E0225, // only the builtin traits can be used as closure or object bounds