about summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Collapse)AuthorLines
2018-08-30Made std::intrinsics::transmute() const fn.thedarkula-9/+65
2018-08-30Auto merge of #53757 - oli-obk:validation, r=RalfJungbors-0/+21
Use partial but correct vtable layout r? @RalfJung who suggested to also do this change for nightly, not just beta
2018-08-28address nitsRalf Jung-3/+3
2018-08-28Use partial but correct vtable layoutOliver Schneider-0/+21
2018-08-27validate enum discriminant whenever it is readRalf Jung-3/+3
2018-08-25Satisfy tidyOliver Schneider-1/+1
2018-08-25Check cross crate stability of const fnOliver Schneider-1/+92
2018-08-23fix new ui testJorge Aparicio-2/+2
2018-08-22Auto merge of #52011 - ↵bors-0/+230
oli-obk:dont_you_hate_it_too_when_everything_panics_constantly, r=eddyb Allow panicking with string literal messages inside constants r? @eddyb cc https://github.com/rust-lang/rust/issues/51999 we can't implement things like `panic!("foo: {}", x)` right now because we can't call trait methods (most notably `Display::fmt`) inside constants. Also most of these impls probably have loops and conditions, so it's messy anyway. But hey `panic!("foo")` works at least. cc @japaric got any test ideas for `#![no_std]`?
2018-08-22Reexpose stability hole in the presence of feature gatesOliver Schneider-0/+230
2018-08-22Rollup merge of #53558 - davidtwco:issue-53547, r=estebankGuillaume Gomez-2/+2
Normalize source line and column numbers. Fixes #53547. r? @eddyb
2018-08-22optimize sanity check path printingRalf Jung-39/+77
During the sanity check, we keep track of the path we are below in a `Vec`. We avoid cloning that `Vec` unless we hit a pointer indirection. The `String` representation is only computed when validation actually fails.
2018-08-22fix UI testsRalf Jung-1/+1
2018-08-21Normalize source line and column numbers.David Wood-2/+2
This commit adds a normalization for line and column numbers in stderr files where the line/col is from the source directory rather than the test itself - thereby removing the need to update tests as compiler source changes.
2018-08-20Moved issue-53157.rs into src/test/ui/consts/const-eval/thedarkula-0/+23
2018-08-14Moved problematic tests on x86_64-gnu-nopt back to compile-fail.David Wood-62/+0
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+5012