]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-in-staged-api.stderr
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' 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