]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7044.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-7044.stderr
1 error[E0428]: the name `X` is defined multiple times
2   --> $DIR/issue-7044.rs:2:1
3    |
4 LL | static X: isize = 0;
5    | -------------------- previous definition of the value `X` here
6 LL | struct X;
7    | ^^^^^^^^^ `X` redefined here
8    |
9    = note: `X` must be defined only once in the value namespace of this module
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0428`.