mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
14 lines
155 B
Rust
14 lines
155 B
Rust
//@ revisions: rpass1 rpass2
|
|
|
|
#[cfg(rpass1)]
|
|
pub trait Something {
|
|
fn foo();
|
|
}
|
|
|
|
#[cfg(rpass2)]
|
|
pub struct Something {
|
|
pub foo: u8,
|
|
}
|
|
|
|
fn main() {}
|