Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more complete error message
  • Loading branch information
nikomatsakis authored and brson committed Jan 19, 2017
commit 2a833e4dcb9625daf22e8cabb093c4ec1d7e4f4e
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-38919.rs
Original file line number Diff line number Diff line change
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() { }