mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
14 lines
161 B
Rust
14 lines
161 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(unused_variables)]
|
|
|
|
enum Foo { }
|
|
|
|
impl Drop for Foo {
|
|
fn drop(&mut self) { }
|
|
}
|
|
|
|
fn foo(x: Foo) { }
|
|
|
|
fn main() { }
|