• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // build-pass (FIXME(62277): could be check-pass?)
2 
3 #![deny(deprecated)]
4 
5 #[deprecated = "oh no"]
6 #[derive(Default)]
7 struct X;
8 
9 #[deprecated(note="Do not use this")]
10 #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
11 pub struct Step<I> {
12     _skip: Option<I>,
13 }
14 
main()15 fn main() {}
16