Fix code suggestion in test

This commit is contained in:
Seo Sanghyeon 2016-05-18 22:22:32 +09:00
parent 0f257df31a
commit bc4c67dd0a

View File

@ -81,11 +81,11 @@ impl FuncContainerOuter {
fn run(&self) {
unsafe {
(*self.container).f1(1); //~ ERROR no method named `f1` found
//~^ NOTE use `(*self.container.f1)(...)`
//~^ NOTE use `((*self.container).f1)(...)`
(*self.container).f2(1); //~ ERROR no method named `f2` found
//~^ NOTE use `(*self.container.f2)(...)`
//~^ NOTE use `((*self.container).f2)(...)`
(*self.container).f3(1); //~ ERROR no method named `f3` found
//~^ NOTE use `(*self.container.f3)(...)`
//~^ NOTE use `((*self.container).f3)(...)`
}
}
}