Add note to E0550

With the change to built-in duplicate checking, E0550 is no longer
emitted.
This commit is contained in:
Jacob Pratt 2022-04-14 01:59:00 -04:00
parent 0b3db4e4ee
commit dac487ae2b
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4

View file

@ -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() {}