We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error-codes/E0381-duplicated-label.rs
1 parent fd1a784 commit 0866ccfCopy full SHA for 0866ccf
tests/ui/error-codes/E0381-duplicated-label.rs
@@ -1,5 +1,6 @@
1
-//! Test for a bug in the error message handling that duplicated part of the message
+//! Regression test for duplicated label in E0381 error message.
2
//!
3
+//! Error: E0381
4
//! Issue: <https://github.com/rust-lang/rust/issues/129274>
5
fn main() {
6
fn test() {
tests/ui/error-codes/E0381-duplicated-label.stderr
@@ -1,5 +1,5 @@
error[E0381]: used binding `blah` is possibly-uninitialized
- --> $DIR/E0381-duplicated-label.rs:11:33
+ --> $DIR/E0381-duplicated-label.rs:12:33
|
LL | let blah: Option<String>;
| ---- binding declared here but left uninitialized
0 commit comments