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

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
150 B
Rust
11 lines
150 B
Rust
//@ check-pass
|
|
#![allow(unused_assignments)]
|
|
|
|
#![allow(unused_variables)]
|
|
|
|
trait Foo {
|
|
fn foo(&self, mut v: isize) { v = 1; }
|
|
}
|
|
|
|
pub fn main() {}
|