about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-06-02 20:46:40 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-06-03 08:26:10 +0200
commit2aa9c703ce9ce9c69d466481b2fda3268db64f3e (patch)
treedca99af1936f6818fa07d6a2a36b805025684aee /compiler/rustc_error_codes
parent86bd99060c5f2b60e27c6afa5ad9c904333cb746 (diff)
downloadrust-2aa9c703ce9ce9c69d466481b2fda3268db64f3e.tar.gz
rust-2aa9c703ce9ce9c69d466481b2fda3268db64f3e.zip
Use the same message as type & const generics.
Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0263.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0263.md b/compiler/rustc_error_codes/src/error_codes/E0263.md
index 37271ac692d..2d1ac40264d 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0263.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0263.md
@@ -1,8 +1,10 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 A lifetime was declared more than once in the same scope.
 
 Erroneous code example:
 
-```compile_fail,E0263
+```compile_fail,E0403
 fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str, z: &'a str) { // error!
 }
 ```