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 2a557f6 commit 95b39e7Copy full SHA for 95b39e7
tests/ui/traits/issue-139999.rs
@@ -0,0 +1,6 @@
1
+fn do_something() -> Option<ForgotToImport> {
2
+ //~^ cannot find type `ForgotToImport` in this scope [E0412]
3
+ None
4
+}
5
+
6
+fn main() {}
tests/ui/traits/issue-139999.stderr
@@ -0,0 +1,9 @@
+error[E0412]: cannot find type `ForgotToImport` in this scope
+ --> $DIR/issue-139999.rs:1:29
+ |
+LL | fn do_something() -> Option<ForgotToImport> {
+ | ^^^^^^^^^^^^^^ not found in this scope
7
+error: aborting due to 1 previous error
8
9
+For more information about this error, try `rustc --explain E0412`.
0 commit comments