diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2021-06-21 19:07:19 -0700 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-08-11 09:46:24 +0000 |
| commit | 99f2977031706dfef6730764d359b9e5d0f673b4 (patch) | |
| tree | 16caa7ac1411f6ebe1e56c175e9799a442b59832 /src/test/ui/associated-consts | |
| parent | d488de82f30fd1dcb0220d57498638596622394e (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/associated-consts')
| -rw-r--r-- | src/test/ui/associated-consts/associated-const-ambiguity-report.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/associated-consts/associated-const-ambiguity-report.stderr b/src/test/ui/associated-consts/associated-const-ambiguity-report.stderr index fc94ef2ff88..d4c12b8e061 100644 --- a/src/test/ui/associated-consts/associated-const-ambiguity-report.stderr +++ b/src/test/ui/associated-consts/associated-const-ambiguity-report.stderr @@ -17,11 +17,11 @@ LL | const ID: i32 = 3; help: disambiguate the associated constant for candidate #1 | LL | const X: i32 = Foo::ID; - | ^^^^^ + | ~~~~~ help: disambiguate the associated constant for candidate #2 | LL | const X: i32 = Bar::ID; - | ^^^^^ + | ~~~~~ error: aborting due to previous error |
