mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +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() {}
|