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