Add note to E0550
With the change to built-in duplicate checking, E0550 is no longer emitted.
This commit is contained in:
parent
0b3db4e4ee
commit
dac487ae2b
1 changed files with 3 additions and 1 deletions
|
@ -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() {}
|
||||
|
|
Loading…
Add table
Reference in a new issue