Skip to content

Commit a0985fc

Browse files
committed
fix a typo
1 parent 9f7e997 commit a0985fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/hrtb/hrtb-just-for-static.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn give_static() {
2828
want_hrtb::<StaticInt>() //~ ERROR
2929
}
3030

31-
// AnyInt implements Foo<&'a isize> for any 'a, so it is a match.
31+
// &'a u32 only implements Foo<&'a isize> for specific 'a, so it is an error.
3232
impl<'a> Foo<&'a isize> for &'a u32 { }
3333
fn give_some<'a>() {
3434
want_hrtb::<&'a u32>()

0 commit comments

Comments
 (0)