about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorMatthew Kelly <matthew.kelly2@gmail.com>2022-09-26 20:50:33 -0400
committerMatthew Kelly <matthew.kelly2@gmail.com>2022-09-26 20:50:33 -0400
commit0d9c01480b9142e9c0aea24500a9461c2bee5a68 (patch)
tree67f2a9531291deac1b178abc28180b3219f390a2 /src/test/ui/error-codes
parent24aab524cbafec7ff8c7cd54ba4f6fb18216c623 (diff)
downloadrust-0d9c01480b9142e9c0aea24500a9461c2bee5a68.tar.gz
rust-0d9c01480b9142e9c0aea24500a9461c2bee5a68.zip
remove implied link bound per review
also update .stderr outputs
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0311.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0311.stderr b/src/test/ui/error-codes/E0311.stderr
index bc0182555af..9873b5ae6ff 100644
--- a/src/test/ui/error-codes/E0311.stderr
+++ b/src/test/ui/error-codes/E0311.stderr
@@ -16,8 +16,8 @@ LL |     with_restriction::<T>(x)
    |     ^^^^^^^^^^^^^^^^^^^^^
 help: consider adding an explicit lifetime bound...
    |
-LL | fn no_restriction<T: 'a>(x: &()) -> &() {
-   |                    ++++
+LL | fn no_restriction<'a, T: 'a>(x: &()) -> &() {
+   |                   +++  ++++
 
 error: aborting due to previous error