Esteban Küber
0baf61bfdb
Increase spacing for suggestions in diagnostics
...
Make the spacing between the code snippet and verbose structured
suggestions consistent with note and help messages.
2019-10-24 12:26:01 -07:00
Guillaume Gomez
9f392c43dc
Update ui tests
2019-10-13 22:10:03 +02:00
Vadim Petrochenkov
33c9ada800
metadata: Remove locator::Context::ident
...
It's a crate name after renaming, so it's entirely irrelevant to crate loading
2019-10-04 01:12:29 +03:00
Kornel
3bfb4c3c25
Don't recommend extern crate syntax
2019-08-05 18:19:01 +01:00
memoryruins
eb4580a570
Update ui test suite to use dyn
2019-05-29 00:57:31 -04:00
Matthew Jasper
8eef102270
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
Andy Russell
b6f148c8bd
hide --explain hint if error has no extended info
2019-04-18 13:29:28 -04:00
Andy Russell
bbdeafc13c
clarify what the item is in "not a module" error
2019-04-10 12:55:21 -04:00
Esteban Küber
0a4ecf3438
Mark duplicate import removal suggestion tool only
2019-03-23 13:05:30 -07:00
Esteban Küber
3211f38828
Tweak unnecessary import suggestion
2019-03-23 13:05:30 -07:00
Alexander Regueiro
fe30743c79
Moved issue tests to subdirs and normalised names.
2019-03-14 01:00:49 +00:00
Vadim Petrochenkov
c1cfacfb13
Update NLL tests
2019-03-11 23:18:35 +03:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
Andy Russell
4bbe8839dd
use structured suggestions for E0432
2019-03-09 11:05:30 -05:00
Esteban Küber
87dd2e1df9
Use hidden suggestions for unused imports lint
2019-02-11 11:16:22 -08:00
Pietro Albini
5ef71508fe
unused_imports: update tests
2019-02-08 08:44:56 +01:00
David Wood
1595163356
Add suggestion for duplicated import.
...
This commit adds a suggestion when a import is duplicated (ie. the same name
is used twice trying to import the same thing) to remove the second
import.
2019-01-31 12:01:28 +01:00
Esteban Küber
baa0828ee3
Fix --compare-mode=nll tests
2019-01-24 10:53:43 -08:00
csmoe
48de0ff333
add non-copy note to stderr
2018-12-29 10:36:23 +08:00
csmoe
8d77c7c037
retrieve ty info from place_ty
...
describe index with _
2018-12-27 17:25:45 +08:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Vadim Petrochenkov
4fc3c13e32
resolve: Avoid sentence breaks in diagnostics
2018-11-18 13:58:36 +03:00
Vadim Petrochenkov
acdbd0643c
resolve: More precise spans for privacy errors
2018-10-28 02:56:12 +03:00
bors
7cfe5de214
Auto merge of #55113 - mockersf:master, r=estebank
...
#45829 when a renamed import conflict with a previous import
Fix the suggestion when a renamed import conflict.
It check if the snipped contains `" as "`, and if so uses everything before for the suggestion.
2018-10-23 08:17:18 +00:00
François Mockers
2ba567fc27
fix other tests failing due to change in case or new suggestion for extern crate
2018-10-17 01:21:40 +02:00
Felix S. Klock II
5b748434af
updates to expected output for other ui tests.
2018-10-16 17:11:36 +02:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00