Skip to content

Commit 2bade81

Browse files
committed
more complete error message
1 parent 8848c38 commit 2bade81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-38919.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
fn foo<T: Iterator>() {
12-
T::Item; //~ ERROR no associated item named `Item` found for type `T`
12+
T::Item; //~ ERROR no associated item named `Item` found for type `T` in the current scope
1313
}
1414

1515
fn main() { }

0 commit comments

Comments
 (0)