]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-in-staged-api.stderr
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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