diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-05-03 01:57:35 +0300 | 
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-05-07 19:14:32 +0300 | 
| commit | 4f5900aefac42cec488a68c041ecd538c04b84fd (patch) | |
| tree | a27eb77ecb3c2e47bcb8924c18329c2e0cb66901 /src/test/compile-fail/check-static-values-constraints.rs | |
| parent | 78884b765915c551e5f3fe71b185d91ec4c186de (diff) | |
| download | rust-4f5900aefac42cec488a68c041ecd538c04b84fd.tar.gz rust-4f5900aefac42cec488a68c041ecd538c04b84fd.zip | |
test: adjust for the move to MIR-based const checking.
Diffstat (limited to 'src/test/compile-fail/check-static-values-constraints.rs')
| -rw-r--r-- | src/test/compile-fail/check-static-values-constraints.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/test/compile-fail/check-static-values-constraints.rs b/src/test/compile-fail/check-static-values-constraints.rs index c3a1de11752..ded0d07d737 100644 --- a/src/test/compile-fail/check-static-values-constraints.rs +++ b/src/test/compile-fail/check-static-values-constraints.rs @@ -140,4 +140,5 @@ static STATIC19: Box<isize> = pub fn main() { let y = { static x: Box<isize> = box 3; x }; //~^ ERROR allocations are not allowed in statics + //~^^ ERROR cannot move out of static item } | 
