Skip to content

Commit d88cb80

Browse files
Use HRTB in E0637 documentation
1 parent 70714e3 commit d88cb80

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0637.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ fn underscore_lifetime<'a>(str1: &'a str, str2: &'a str) -> &'a str {
4040
}
4141
}
4242
43-
fn and_without_explicit_lifetime<'foo, T>()
43+
fn and_without_explicit_lifetime<T>()
4444
where
45-
T: Into<&'foo u32>,
45+
T: for<'foo> Into<&'foo u32>,
4646
{
4747
}
4848
```

0 commit comments

Comments
 (0)