diff options
| author | Michael Goulet <michael@errs.io> | 2022-12-18 03:04:21 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-12-18 03:04:26 +0000 |
| commit | 5cccb36cfbc887da04dc367c24d2b4947c993ff9 (patch) | |
| tree | cef76e9249c32b13e40433b370f8fb33cc5598b7 /src/test/ui/error-codes | |
| parent | 984eab57f708e62c09b3d708033fe620130b5f39 (diff) | |
| download | rust-5cccb36cfbc887da04dc367c24d2b4947c993ff9.tar.gz rust-5cccb36cfbc887da04dc367c24d2b4947c993ff9.zip | |
higher-ranked lifetime message
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0637.stderr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0637.stderr b/src/test/ui/error-codes/E0637.stderr index 35a4b34fb0a..78341735e19 100644 --- a/src/test/ui/error-codes/E0637.stderr +++ b/src/test/ui/error-codes/E0637.stderr @@ -21,6 +21,12 @@ error[E0637]: `&` without an explicit lifetime name cannot be used here | LL | T: Into<&u32>, | ^ explicit lifetime name needed here + | +help: consider introducing a higher-ranked lifetime here with `for<'a>` + --> $DIR/E0637.rs:13:8 + | +LL | T: Into<&u32>, + | ^ error: aborting due to 3 previous errors |
