blob: 874f4228277e1540a28c2ccce5e30eb99a19d2c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
struct Foo {
x: isize,
}
impl Foo {
pub fn f(&self) {}
}
fn g(x: &mut Foo) {
x.f();
}
pub fn main() {
}
|