Skip to content

Commit dac487a

Browse files
committed
Add note to E0550
With the change to built-in duplicate checking, E0550 is no longer emitted.
1 parent 0b3db4e commit dac487a

File tree

1 file changed

+3
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+3
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0550.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#### Note: this error code is no longer emitted by the compiler
2+
13
More than one `deprecated` attribute has been put on an item.
24

35
Erroneous code example:
46

5-
```compile_fail,E0550
7+
```compile_fail
68
#[deprecated(note = "because why not?")]
79
#[deprecated(note = "right?")] // error!
810
fn the_banished() {}

0 commit comments

Comments
 (0)