File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33trait Trait {
44 reuse Trait :: foo { & self . 0 }
5- //~^ ERROR: this function takes 0 arguments but 1 argument was supplied
6- //~| ERROR: failed to resolve delegation callee
5+ //~^ ERROR: failed to resolve delegation callee
6+ //~| ERROR: this function takes 0 arguments but 1 argument was supplied
77}
88
99reuse foo;
10- //~^ WARN: function cannot return without recursing
11- //~| ERROR: failed to resolve delegation callee
10+ //~^ ERROR: failed to resolve delegation callee
11+ //~| WARN: function cannot return without recursing
1212
1313fn main ( ) { }
Original file line number Diff line number Diff line change 22
33mod first_mod {
44 reuse foo;
5- //~^ WARN: function cannot return without recursing
6- //~| ERROR: failed to resolve delegation callee
5+ //~^ ERROR: failed to resolve delegation callee
6+ //~| WARN: function cannot return without recursing
77}
88
99mod second_mod {
You can’t perform that action at this time.
0 commit comments