diff --git a/src/test/run-pass/associated-types-nested-projections.rs b/src/test/run-pass/associated-types-nested-projections.rs index 12d3fcaa4fe7..a907b9fcde51 100644 --- a/src/test/run-pass/associated-types-nested-projections.rs +++ b/src/test/run-pass/associated-types-nested-projections.rs @@ -46,6 +46,5 @@ fn bar(x: X) where fn main() { foo(&[0i, 1, 2]); - //~^ error: the trait `Bound` is not implemented for the type `<<&[int; 3] as IntoIterator>::Iter as core::iter::Iterator>::Item` bar(&[0i, 1, 2]); }