Skip to content

Commit

Permalink
Fix code suggestion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed May 18, 2016
1 parent 0f257df commit bc4c67d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/compile-fail/issue-2392.rs
Expand Up @@ -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)(...)`
}
}
}

0 comments on commit bc4c67d

Please sign in to comment.