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.
1 parent febdc3b commit 3479915Copy full SHA for 3479915
src/librustc_resolve/diagnostics.rs
@@ -627,6 +627,9 @@ trait Foo {
627
Self; // error: unresolved name `Self`
628
}
629
630
+
631
+// or:
632
+let x = unknown_variable; // error: unresolved name `unknown_variable`
633
```
634
635
Please verify you didn't misspell the name or that you're not using an
@@ -636,12 +639,17 @@ invalid object. Example:
636
639
enum something_that_does_exist {
637
640
foo
638
641
642
643
// or:
644
mod something_that_does_exist {
645
pub static foo : i32 = 0i32;
646
647
648
something_that_does_exist::foo; // ok!
649
650
651
+let unknown_variable = 12u32;
652
+let x = unknown_variable; // ok!
653
654
"##,
655
0 commit comments