about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorpankajchaudhary5 <pankajchaudhary172@gmail.com>2020-05-10 11:39:51 +0530
committerpankajchaudhary5 <pankajchaudhary172@gmail.com>2020-06-14 22:57:19 +0530
commit46bfc48272ba5312c439557e2901e1a4778e9487 (patch)
treecd36f953d4bbc997ed9a4d4ccc06bf5bff3e13ee /src/test
parent20fc02f836f3035b86b56a7cedb97c5cd4ed9612 (diff)
downloadrust-46bfc48272ba5312c439557e2901e1a4778e9487.tar.gz
rust-46bfc48272ba5312c439557e2901e1a4778e9487.zip
Added proper explanation of ErrorCode-E0687
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/in-band-lifetimes/E0687.stderr1
-rw-r--r--src/test/ui/in-band-lifetimes/E0687_where.stderr1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/in-band-lifetimes/E0687.stderr b/src/test/ui/in-band-lifetimes/E0687.stderr
index e8e5100e00e..7aea2f22046 100644
--- a/src/test/ui/in-band-lifetimes/E0687.stderr
+++ b/src/test/ui/in-band-lifetimes/E0687.stderr
@@ -24,3 +24,4 @@ LL |     fn bar(&self, x: fn(&'a u32)) {}
 
 error: aborting due to 4 previous errors
 
+For more information about this error, try `rustc --explain E0687`.
diff --git a/src/test/ui/in-band-lifetimes/E0687_where.stderr b/src/test/ui/in-band-lifetimes/E0687_where.stderr
index b422869c4db..af0f9665f5d 100644
--- a/src/test/ui/in-band-lifetimes/E0687_where.stderr
+++ b/src/test/ui/in-band-lifetimes/E0687_where.stderr
@@ -12,3 +12,4 @@ LL | fn baz(x: &impl Fn(&'a u32)) {}
 
 error: aborting due to 2 previous errors
 
+For more information about this error, try `rustc --explain E0687`.