Eduard-Mihai Burtescu
4c7eb59e81
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
2020-02-06 21:46:38 +02:00
Mazdak Farrokhzad
01dd376ded
#![recursion_limit = "X"]: note current crate name.
2020-02-05 03:24:43 +01:00
Eduard-Mihai Burtescu
a7b0aa0675
rustc_span: move pretty syntax from macro_backtrace to ExpnKind::descr.
2020-01-26 17:18:55 +02:00
Esteban Küber
2c5766f2d4
Unify output of "variant not found" errors
2020-01-08 08:05:31 -08:00
Mazdak Farrokhzad
b4420c8f5c
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
David Hewitt
539813944d
Add memoization for const function evaluations
...
When a const function is being evaluated, as long as all its
arguments are zero-sized-types (or it has no arguments) then we
can trivially memoize the evaluation result using the existing
query mechanism.
2019-11-27 12:01:04 +00:00
Sam Radhakrishnan
9e4eb46790
Change to use exprPrecedence instead of exprKind.
2019-10-01 05:00:22 -04:00
Esteban Küber
5799fb419c
Give method not found a primary span label
2019-09-08 18:27:02 -07:00
Simonas Kazlauskas
7e40df3f13
Raise the default recursion limit to 128
2019-07-07 00:12:35 +03:00
Esteban Küber
45bbd14db4
Continue evaluating after item-type checking
2019-04-22 11:31:35 -07:00
Andy Russell
b6f148c8bd
hide --explain hint if error has no extended info
2019-04-18 13:29:28 -04:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
John Kåre Alsaker
468254b38f
Update tests
2019-01-11 03:53:30 +01: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
varkor
f039872766
Enclose type in backticks for "reached the recursion limit while auto-dereferencing" error
2018-11-21 16:06:24 +00:00
Ralf Jung
b396505425
put file and line into miri backtrace
2018-11-14 23:14:57 +01:00
Oliver Schneider
1c5ff292fc
Rebase fallout
2018-10-25 17:20:39 +02:00
Oliver Schneider
7fdf06cdde
Report const eval error inside the query
2018-10-25 16:46:19 +02:00
Oliver Scherer
8180e1b54c
Check the type of statics and constants for Sizedness
2018-10-16 17:01:24 +02:00
Oliver Schneider
ec74d3533a
Stabilize min_const_fn
2018-10-05 10:36:14 +02:00
Oliver Schneider
d125e904b5
Restrict most uses of const_fn to min_const_fn
2018-08-31 08:40:00 +02:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00