bors
31f5d69ba4
Auto merge of #60125 - estebank:continue-evaluating, r=oli-obk
...
Don't stop evaluating due to errors before borrow checking
r? @oli-obk
Fix #60005 . Follow up to #59903 . Blocked on #53708 , fixing the ICE in `src/test/ui/consts/match_ice.rs`.
2019-04-23 09:38:34 +00:00
Esteban Küber
6e723c24a8
Never stop due to errors before borrow checking
2019-04-22 13:11:53 -07:00
varkor
7f0f0e31ec
Remove double trailing newlines
2019-04-22 16:57:01 +01: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
varkor
feb3408f11
Update const fn tests
2019-02-14 15:04:37 +00:00
Oliver Scherer
aef6288d9a
const fn feature gate is not needed anymore in a lot of tests
2019-01-09 10:20:44 +01:00
Oliver Scherer
4b4fc63eb7
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
varkor
d6969ac2fb
Fix string for raw pointer deref suggestion
2018-12-18 23:42:42 +00:00
varkor
c2402dca85
Replace "native pointer" in error message with "raw pointer"
2018-12-18 22:58:49 +00:00
Oliver Scherer
ae0b00cada
Add and update tests
2018-12-04 10:17:37 +01:00
Oliver Scherer
37ef5e43af
Add tests for stable unsafe features in const fn
2018-12-04 10:17:37 +01:00
Oliver Scherer
55abc0bc90
Also prevent mutation fields directly
2018-12-04 10:17:36 +01:00
Oliver Scherer
1894a5fe2c
Also make immutable references to non-freeze restricted value range types unsafe
2018-12-04 10:17:36 +01:00
Oliver Scherer
081c49783f
generalize the message about the creation of layout restricted types
2018-12-04 10:17:36 +01:00
Oliver Scherer
14218e3969
Trailing newlines again
2018-12-04 10:17:36 +01:00
Oliver Scherer
8bdb11c4d9
Forbid the creation of mutable borrows to fields of layout constrained types
2018-12-04 10:17:36 +01: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