summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs')
-rw-r--r--src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs b/src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs
deleted file mode 100644
index a0a561ab2..000000000
--- a/src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-// pretty-expanded FIXME #23616
-
-fn foo(x: &mut Box<u8>) {
- *x = Box::new(5);
-}
-
-pub fn main() {
- foo(&mut Box::new(4));
-}