]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-mut-not-constant.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / static / static-mut-not-constant.stderr
1 error[E0010]: allocations are not allowed in statics
2   --> $DIR/static-mut-not-constant.rs:3:28
3    |
4 LL | static mut a: Box<isize> = box 3;
5    |                            ^^^^^ allocation not allowed in statics
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0010`.