about summary refs log tree commit diff
path: root/src/test/compile-fail/consts
AgeCommit message (Collapse)AuthorLines
2020-04-29Bless testsDylan MacKenzie-1/+0
2020-02-15remove no-longer-needed testRalf Jung-20/+0
2020-02-15fix compile-failRalf Jung-4/+4
2020-01-09Update testsVadim Petrochenkov-0/+1
2019-12-07Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obkbors-1/+0
Miri core engine: use throw_ub instead of throw_panic See https://github.com/rust-lang/rust/issues/66902 for context: panicking is not really an "interpreter error", but just part of a normal Rust execution. This is a first step towards removing the `InterpError::Panic` variant: the core Miri engine does not use it any more. ConstProp and ConstEval still use it, though. This will be addressed in future PRs. From what I can tell, all the error messages this removes are actually duplicates. r? @oli-obk @wesleywiser
2019-12-02Correct other tests related to const_mut_refsChristian Poveda-1/+1
2019-12-01fix compile-fail testsRalf Jung-1/+0
2019-11-15A `Downcast` is now reached when const-checking a `for` loopDylan MacKenzie-0/+1
I believe this occurs because the old checker stopped processing basic blocks after a `SwitchInt`.
2019-11-13Bless less verbose error messagesDylan MacKenzie-2/+0
The MIR const-checker errors for if/match/loop are now delay span bugs, so nothing will be emitted unless the HIR checker misses something.
2019-11-13Bless const tests with improved diagnosticsDylan MacKenzie-0/+1
2019-10-18[const-prop] Handle MIR Rvalue::AggregatesWesley Wiser-0/+1
2019-08-06move error with diverging output to compile-failEsteban Küber-0/+48