mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +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() {}
|