bors
53712f8637
Auto merge of #66389 - estebank:type-err-labels, r=petrochenkov
...
Specific labels when referring to "expected" and "found" types
2019-11-21 17:53:19 +00:00
Esteban Küber
6f8f70624b
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
Esteban Küber
83ffda5216
Specific labels when referring to "expected" and "found" types
2019-11-18 11:02:22 -08:00
Guillaume Gomez
cd13335ae2
Update ui tests
2019-11-18 19:00:10 +01:00
Esteban Küber
b370c111fd
On obligation errors point at the unfulfilled binding when possible
2019-09-22 11:33:12 -07:00
Esteban Küber
444bc3ca66
Use span label instead of note for cause in E0631
2019-08-31 00:14:23 -07: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
Mathias Blikstad
faed3a2b19
Updated UI test output to remove test annotations for revisions
2019-03-17 17:00:18 +01: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
Vadim Petrochenkov
1f64f60d5c
tests: Do not use -Z parse-only, continue compilation to test recovery
2019-01-06 22:20:46 +03: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
Pietro Albini
3810657ae3
Rollup merge of #54787 - varkor:unused-mut-in-desugaring, r=nikomatsakis
...
Only warn about unused `mut` in user-written code
Fixes https://github.com/rust-lang/rust/issues/54586 .
r? @pnkfelix
cc @blitzerr
2018-10-05 22:33:13 +02:00
Matthew Jasper
bc4f9b848d
Clearer later use messages for calls
...
Give a special message when the later use is from a call. Use the span
of the callee instead of the whole expression. For conflicting borrow
messages say that the later use is of the first borrow.
2018-10-03 20:32:38 +01:00
varkor
113141b6f5
Only warn about unused mut in user-written code
2018-10-03 14:14:11 +01:00
Andy Russell
d871b8ad4a
use structured suggestion for "missing mut" label
...
Fixes #54133 .
2018-09-12 17:16:18 -04:00
Niko Matsakis
58e4b54bd4
move tests to borrowck directory, remove feature(nll)
...
now compare-mode can show us the differences
2018-08-19 08:15:13 -07:00
Felix S. Klock II
c7041a60a5
Updated the most glaring instances of weak tests w.r.t. NLL that came from #53196 .
...
See also the bulletpoint list on #53351 .
2018-08-15 01:16:05 +02:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00