about summary refs log tree commit diff
path: root/tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-05-25 17:30:23 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-05-25 17:40:46 +0000
commit844c1cc5fec38f691a2ffb53ef3366f25cf7b02b (patch)
tree0994331e0ebf6a9fd5c3e94f3e7bf22615381b2f /tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs
parentd300bffa4f0036e9138ef752610d08fc63f87a77 (diff)
downloadrust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.tar.gz
rust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.zip
Remove DesugaringKind::Replace.
Diffstat (limited to 'tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs')
-rw-r--r--tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs b/tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs
index 293fdca1cc9..c9b16e43910 100644
--- a/tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs
+++ b/tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs
@@ -5,7 +5,6 @@ fn test() {
     drop(b);
     b = Box::new(2); //~ ERROR cannot assign twice to immutable variable `b`
                      //~| NOTE cannot assign twice to immutable
-                     //~| NOTE in this expansion of desugaring of drop and replace
     drop(b);
 }