summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/default-method/mut.rs
blob: 5f8e983b09cfb8e6b00d95aa62c63b421716ee74 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
#![allow(unused_assignments)]
// pretty-expanded FIXME #23616

#![allow(unused_variables)]

trait Foo {
    fn foo(&self, mut v: isize) { v = 1; }
}

pub fn main() {}