Mazdak Farrokhzad
0b7d8f99ed
Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis
...
clarify resolve typo suggestion
Include the kind of the binding that we're suggesting, and use a
structured suggestion.
Fixes #53445 .
2019-01-14 11:31:53 +01:00
Esteban Küber
72d965f7b7
Reword label as per review comment
2019-01-12 19:36:28 -08:00
Esteban Küber
a873337f21
Point at the match discriminant when arm pattern has a type mismatch
2019-01-12 19:36:28 -08:00
Andy Russell
404ad50d14
clarify resolve typo suggestion
...
Include the kind of the binding that we're suggesting, and use a
structured suggestion.
2019-01-09 14:11:00 -05:00
Vadim Petrochenkov
1f64f60d5c
tests: Do not use -Z parse-only, continue compilation to test recovery
2019-01-06 22:20:46 +03:00
bors
a36b960df6
Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor
...
Improve type mismatch error messages
Closes #56115 .
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
TODO the book and clippy needs to be changed accordingly later.
r? @varkor
2019-01-02 11:59:15 +00:00
Yuning Zhang
710dcbd381
Improve type mismatch error messages
...
Replace "integral variable" with "integer" and replace
"floating-point variable" with "floating-point number" to make the
message less confusing.
2018-12-31 20:43:08 -05:00
bors
9eac386342
Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank
...
use structured suggestions for nonexistent fields
r? @estebank
2018-12-31 20:56:19 +00:00
Andy Russell
dfc326d0e2
use structured suggestions for nonexistent fields
2018-12-31 12:52:30 -05:00
Alexander Regueiro
8eb1a9e4e7
Added regression test for using generic parameters on modules.
2018-12-26 21:54:18 +00:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Andy Russell
6474de904c
make non_camel_case_types an early lint
2018-12-24 12:58:52 -05:00
Vadim Petrochenkov
acdbd0643c
resolve: More precise spans for privacy errors
2018-10-28 02:56:12 +03:00
Zack M. Davis
a5de379b55
structured suggestion for E0223 ambiguous associated type
...
It looks like we tend to use angle-brackets around the placeholder in
the few other places we use `Applicability::HasPlaceholders`, but that
would be confusing here, so ...
2018-10-11 21:10:35 -07:00
Matthew Russo
79afc6e9e8
updates tests to use new error code
2018-08-24 08:51:25 -04:00
varkor
aa3b5c58e4
Fix diagnostic regression
2018-08-20 16:16:39 +01:00
varkor
b5c2470ba3
Update new ui tests
2018-08-20 00:08:01 +01:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00