]> git.proxmox.com Git - rustc.git/blob - src/test/ui/deprecation/invalid-literal.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / deprecation / invalid-literal.stderr
1 error: attribute must be of the form `#[deprecated]` or `#[deprecated(/*opt*/ since = "version", /*opt*/ note = "reason)]` or `#[deprecated = "reason"]`
2 --> $DIR/invalid-literal.rs:1:1
3 |
4 LL | #[deprecated = b"test"]
5 | ^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8