Skip to content

Commit bc4c67d

Browse files
committed
Fix code suggestion in test
1 parent 0f257df commit bc4c67d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/issue-2392.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ impl FuncContainerOuter {
8181
fn run(&self) {
8282
unsafe {
8383
(*self.container).f1(1); //~ ERROR no method named `f1` found
84-
//~^ NOTE use `(*self.container.f1)(...)`
84+
//~^ NOTE use `((*self.container).f1)(...)`
8585
(*self.container).f2(1); //~ ERROR no method named `f2` found
86-
//~^ NOTE use `(*self.container.f2)(...)`
86+
//~^ NOTE use `((*self.container).f2)(...)`
8787
(*self.container).f3(1); //~ ERROR no method named `f3` found
88-
//~^ NOTE use `(*self.container.f3)(...)`
88+
//~^ NOTE use `((*self.container).f3)(...)`
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)