diff options
Diffstat (limited to 'tests/ui/consts/const-prop-read-static-in-const.rs')
-rw-r--r-- | tests/ui/consts/const-prop-read-static-in-const.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/ui/consts/const-prop-read-static-in-const.rs b/tests/ui/consts/const-prop-read-static-in-const.rs deleted file mode 100644 index 214262059..000000000 --- a/tests/ui/consts/const-prop-read-static-in-const.rs +++ /dev/null @@ -1,10 +0,0 @@ -// compile-flags: -Zunleash-the-miri-inside-of-you - -#![allow(dead_code)] - -const TEST: u8 = MY_STATIC; //~ ERROR constant - -static MY_STATIC: u8 = 4; - -fn main() { -} |