]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-in-staged-api.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / deprecation / deprecation-in-staged-api.stderr
1 error: `#[deprecated]` cannot be used in staged API
2   --> $DIR/deprecation-in-staged-api.rs:3:1
3    |
4 LL | #[deprecated]
5    | ^^^^^^^^^^^^^ use `#[rustc_deprecated]` instead
6 LL | fn main() {}
7    | ------------
8
9 error: aborting due to previous error
10