about summary refs log tree commit diff
path: root/src/test/ui/dropck
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-10-13 11:25:30 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-10-28 09:57:36 -0700
commitdaeafd895d26892d9adac2f7103b071b6c07823e (patch)
treeeb604e07b5b63584e1869daf05e33db9f8f397b6 /src/test/ui/dropck
parent56aa89cdbec7d020dbeff76d0a2f6d0f28a1c12f (diff)
downloadrust-daeafd895d26892d9adac2f7103b071b6c07823e.tar.gz
rust-daeafd895d26892d9adac2f7103b071b6c07823e.zip
Talk about specific types and remove lifetimes from output
Diffstat (limited to 'src/test/ui/dropck')
-rw-r--r--src/test/ui/dropck/drop-on-non-struct.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/dropck/drop-on-non-struct.stderr b/src/test/ui/dropck/drop-on-non-struct.stderr
index 91b146dee93..a374b0d2636 100644
--- a/src/test/ui/dropck/drop-on-non-struct.stderr
+++ b/src/test/ui/dropck/drop-on-non-struct.stderr
@@ -10,7 +10,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
 LL | impl<'a> Drop for &'a mut isize {
    | ^^^^^^^^^^^^^^^^^^-------------
    | |                 |
-   | |                 `&'a mut isize` is not defined in the current crate
+   | |                 `isize` is not defined in the current crate
    | impl doesn't use only types from inside the current crate
    |
    = note: define and implement a trait or new type instead