about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-06-22 22:10:17 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-06-23 08:14:49 +0200
commit3ff12223dc56f0a5731ae8d7b2811a83f9e4b15c (patch)
tree24fbde53b6a1a3bc34e46f1940035240f22ec811
parentccb459e49aa52ba55a59520d49350f05a7c9a0db (diff)
downloadrust-3ff12223dc56f0a5731ae8d7b2811a83f9e4b15c.tar.gz
rust-3ff12223dc56f0a5731ae8d7b2811a83f9e4b15c.zip
Comment E0222 instead of removing it
-rw-r--r--src/librustc_typeck/diagnostics.rs2
1 files changed, 2 insertions, 0 deletions
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