about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-02-09 18:42:32 -0800
committerMichael Goulet <michael@errs.io>2022-02-24 18:50:33 -0800
commitbb548a918adc8a4cf63320d3f8b9f1d2ff2622ea (patch)
treebbba240088f42c91fdd598b607655e2f2dc7db54 /compiler/rustc_error_codes/src
parent4e82f35492ea5c78e19609bf4468f0a686d9a756 (diff)
downloadrust-bb548a918adc8a4cf63320d3f8b9f1d2ff2622ea.tar.gz
rust-bb548a918adc8a4cf63320d3f8b9f1d2ff2622ea.zip
Remove in-band lifetimes
Diffstat (limited to 'compiler/rustc_error_codes/src')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0687.md4
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0688.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0687.md b/compiler/rustc_error_codes/src/error_codes/E0687.md
index 67b7db2d31f..05c4915535d 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0687.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0687.md
@@ -1,8 +1,10 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 In-band lifetimes cannot be used in `fn`/`Fn` syntax.
 
 Erroneous code examples:
 
-```compile_fail,E0687
+```ignore (feature got removed)
 #![feature(in_band_lifetimes)]
 
 fn foo(x: fn(&'a u32)) {} // error!
diff --git a/compiler/rustc_error_codes/src/error_codes/E0688.md b/compiler/rustc_error_codes/src/error_codes/E0688.md
index db50f490208..44e641a2a0b 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0688.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0688.md
@@ -1,8 +1,10 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 In-band lifetimes were mixed with explicit lifetime binders.
 
 Erroneous code example:
 
-```compile_fail,E0688
+```ignore (feature got removed)
 #![feature(in_band_lifetimes)]
 
 fn foo<'a>(x: &'a u32, y: &'b u32) {}   // error!