]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error: `#[deprecated]` cannot be used in staged API |
2 | --> $DIR/deprecation-in-staged-api.rs:3:1 | |
b7449926 | 3 | | |
6a06907d XL |
4 | LL | #[deprecated] |
5 | | ^^^^^^^^^^^^^ use `#[rustc_deprecated]` instead | |
6 | LL | fn main() {} | |
7 | | ------------ | |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 |