From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../borrowck/borrowck-use-in-index-lvalue.stderr | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr (limited to 'src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr') diff --git a/src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr b/src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr deleted file mode 100644 index 18e808f10..000000000 --- a/src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr +++ /dev/null @@ -1,29 +0,0 @@ -error[E0381]: used binding `w` isn't initialized - --> $DIR/borrowck-use-in-index-lvalue.rs:3:5 - | -LL | let w: &mut [isize]; - | - binding declared here but left uninitialized -LL | w[5] = 0; - | ^^^^ `*w` used here but it isn't initialized - | -help: consider assigning a value - | -LL | let w: &mut [isize] = todo!(); - | +++++++++ - -error[E0381]: used binding `w` isn't initialized - --> $DIR/borrowck-use-in-index-lvalue.rs:6:5 - | -LL | let mut w: &mut [isize]; - | ----- binding declared here but left uninitialized -LL | w[5] = 0; - | ^^^^ `*w` used here but it isn't initialized - | -help: consider assigning a value - | -LL | let mut w: &mut [isize] = todo!(); - | +++++++++ - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0381`. -- cgit v1.2.3