Skip to content

Commit a279f2f

Browse files
committed
Weaken test compile-fail/lifetime-inference-give-expl-lifetime-param.
1 parent 0042c1a commit a279f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ struct Baz<'x> {
4949

5050
impl<'a> Baz<'a> {
5151
fn baz2<'b>(&self, x: &isize) -> (&'b isize, &'b isize) {
52-
//~^ HELP consider using an explicit lifetime parameter as shown: fn baz2<'b>(&self, x: &'a isize) -> (&'a isize, &'a isize)
52+
//~^ HELP consider using an explicit lifetime parameter as shown: fn baz2<'b>(&self, x: &'
53+
// FIXME #35038: The above suggestion is different on Linux and Mac.
5354
(self.bar, x) //~ ERROR E0312
5455
//~^ ERROR E0312
5556
}

0 commit comments

Comments
 (0)