diff options
| author | bors <bors@rust-lang.org> | 2018-08-03 14:28:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-03 14:28:12 +0000 |
| commit | 59fa6bd6c14eebd213884da08a33639b4c848bb3 (patch) | |
| tree | a12f6001031c408981f49beef67e350422ac3f90 /src/test/compile-fail | |
| parent | 88e0ff14a81a2122222e32cf7c285f585c516cfd (diff) | |
| parent | 828aebfe3a2a4beef1dd149f61ce26057d52ce70 (diff) | |
| download | rust-59fa6bd6c14eebd213884da08a33639b4c848bb3.tar.gz rust-59fa6bd6c14eebd213884da08a33639b4c848bb3.zip | |
Auto merge of #52712 - oli-obk:const_eval_cleanups, r=RalfJung
Reintroduce `Undef` and properly check constant value sizes r? @RalfJung cc @eddyb basically all kinds of silent failures that never occurred are assertions now
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/const-err4.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/const-err4.rs b/src/test/compile-fail/const-err4.rs index 09ebf1681c5..10376d57809 100644 --- a/src/test/compile-fail/const-err4.rs +++ b/src/test/compile-fail/const-err4.rs @@ -16,7 +16,7 @@ union Foo { enum Bar { Boo = [unsafe { Foo { b: () }.a }; 4][3], - //~^ ERROR constant evaluation of enum discriminant resulted in non-integer + //~^ ERROR could not evaluate enum discriminant } fn main() { |
