Remove E0551.

Because it's the same as E0539.

Fixes #51489.
This commit is contained in:
Nicholas Nethercote 2023-10-04 17:20:15 +11:00
parent 81136cb391
commit 0ece171c2f
4 changed files with 9 additions and 16 deletions

View file

@ -1,8 +1,10 @@
#### Note: this error code is no longer emitted by the compiler
An invalid meta-item was used inside an attribute.
Erroneous code example:
```compile_fail,E0551
```compile_fail,E0539
#[deprecated(note)] // error!
fn i_am_deprecated() {}
```