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 6c74779 commit 56b450bCopy full SHA for 56b450b
src/librustc_resolve/diagnostics.rs
@@ -94,8 +94,8 @@ mod bar {
94
"##,
95
96
E0253: r##"
97
-Attempt was made to import an unimportable value. This can happen when
98
-trying to import a function from a trait. An example of this error:
+Attempt was made to import an unimportable value. This can happen when
+trying to import a function from a trait. An example of this error:
99
100
```
101
mod foo {
@@ -106,8 +106,8 @@ mod foo {
106
use foo::MyTrait::doSomething;
107
108
109
-In general, it's not legal to directly import functions from a crate or
110
-concrete type.
+In general, it's not legal to directly import methods belonging to a
+trait or concrete type.
111
112
113
E0255: r##"
0 commit comments