Skip to content

Commit

Permalink
more complete error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jan 17, 2017
1 parent 8848c38 commit 2bade81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-38919.rs
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

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

fn main() { }

0 comments on commit 2bade81

Please sign in to comment.