]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-in-staged-api.rs
Auto merge of #82576 - gilescope:to_string, r=Amanieu
[rust.git] / src / test / ui / deprecation / deprecation-in-staged-api.rs
1 #![feature(staged_api)]
2 #![stable(feature = "stable_test_feature", since = "1.0.0")]
3 #[deprecated] //~ ERROR `#[deprecated]` cannot be used in staged API
4 fn main() {}