From dac487ae2bf9f0d51b7462e9d311d67f46048643 Mon Sep 17 00:00:00 2001 From: Jacob Pratt Date: Thu, 14 Apr 2022 01:59:00 -0400 Subject: Add note to E0550 With the change to built-in duplicate checking, E0550 is no longer emitted. --- compiler/rustc_error_codes/src/error_codes/E0550.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler/rustc_error_codes') diff --git a/compiler/rustc_error_codes/src/error_codes/E0550.md b/compiler/rustc_error_codes/src/error_codes/E0550.md index 1487d701847..6aac5c969d2 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0550.md +++ b/compiler/rustc_error_codes/src/error_codes/E0550.md @@ -1,8 +1,10 @@ +#### Note: this error code is no longer emitted by the compiler + More than one `deprecated` attribute has been put on an item. Erroneous code example: -```compile_fail,E0550 +```compile_fail #[deprecated(note = "because why not?")] #[deprecated(note = "right?")] // error! fn the_banished() {} -- cgit 1.4.1-3-g733a5