diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-25 17:30:23 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-25 17:40:46 +0000 |
| commit | 844c1cc5fec38f691a2ffb53ef3366f25cf7b02b (patch) | |
| tree | 0994331e0ebf6a9fd5c3e94f3e7bf22615381b2f /tests/ui/liveness/liveness-assign/liveness-assign-imm-local-with-drop.rs | |
| parent | d300bffa4f0036e9138ef752610d08fc63f87a77 (diff) | |
| download | rust-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.rs | 1 |
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); } |
