about summary refs log tree commit diff
path: root/src/test/ui/impl-header-lifetime-elision
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-06-21 19:07:19 -0700
committerEsteban Kuber <esteban@kuber.com.ar>2021-08-11 09:46:24 +0000
commit99f2977031706dfef6730764d359b9e5d0f673b4 (patch)
tree16caa7ac1411f6ebe1e56c175e9799a442b59832 /src/test/ui/impl-header-lifetime-elision
parentd488de82f30fd1dcb0220d57498638596622394e (diff)
Modify structured suggestion output
* On suggestions that include deletions, use a diff inspired output format
* When suggesting addition, use `+` as underline
* Color highlight modified span
Diffstat (limited to 'src/test/ui/impl-header-lifetime-elision')
-rw-r--r--src/test/ui/impl-header-lifetime-elision/assoc-type.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/impl-header-lifetime-elision/assoc-type.stderr b/src/test/ui/impl-header-lifetime-elision/assoc-type.stderr
index 211a3286cc3..b752cde228d 100644
--- a/src/test/ui/impl-header-lifetime-elision/assoc-type.stderr
+++ b/src/test/ui/impl-header-lifetime-elision/assoc-type.stderr
@@ -7,7 +7,7 @@ LL |     type Output = &i32;
 help: consider introducing a named lifetime parameter
    |
 LL |     type Output<'a> = &'a i32;
-   |                ^^^^   ^^^
+   |                ++++   ~~~
 
 error[E0106]: missing lifetime specifier
   --> $DIR/assoc-type.rs:16:20
@@ -18,7 +18,7 @@ LL |     type Output = &'_ i32;
 help: consider introducing a named lifetime parameter
    |
 LL |     type Output<'a> = &'a i32;
-   |                ^^^^    ^^
+   |                ++++    ~~
 
 error: aborting due to 2 previous errors