]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-in-staged-api.stderr
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[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