diff options
Diffstat (limited to 'src/test/ui/borrowck/move-error-in-promoted-2.rs')
-rw-r--r-- | src/test/ui/borrowck/move-error-in-promoted-2.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/borrowck/move-error-in-promoted-2.rs b/src/test/ui/borrowck/move-error-in-promoted-2.rs deleted file mode 100644 index 13da34f39..000000000 --- a/src/test/ui/borrowck/move-error-in-promoted-2.rs +++ /dev/null @@ -1,10 +0,0 @@ -// Regression test for #70934 - -struct S; - -fn foo() { - &([S][0],); - //~^ ERROR cannot move out of type `[S; 1]` -} - -fn main() {} |