mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
16 lines
303 B
Rust
16 lines
303 B
Rust
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
#![deny(deprecated)]
|
|
|
|
#[deprecated = "oh no"]
|
|
#[derive(Default)]
|
|
struct X;
|
|
|
|
#[deprecated(note="Do not use this")]
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
|
|
pub struct Step<I> {
|
|
_skip: Option<I>,
|
|
}
|
|
|
|
fn main() {}
|