more complete error message
This commit is contained in:
parent
8848c38758
commit
2bade8133c
@ -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() { }
|
||||
|
Loading…
Reference in New Issue
Block a user