2018-02-07 19:35:35 -08:00
|
|
|
error[E0530]: match bindings cannot shadow statics
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/E0530.rs:6:9
|
2018-02-07 19:35:35 -08:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | static TEST: i32 = 0;
|
2018-11-11 19:46:04 +03:00
|
|
|
| --------------------- the static `TEST` is defined here
|
2018-02-07 19:35:35 -08:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | TEST => {}
|
2018-02-07 19:35:35 -08:00
|
|
|
| ^^^^ cannot be named the same as a static
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0530`.
|