Fix unclosed delimiter in sample error

This commit is contained in:
Christopher Vittal 2017-11-10 15:35:19 -05:00
parent 7d25d2e054
commit 04ad8fd7a5

View file

@ -4631,8 +4631,8 @@ impl Trait parameters in a trait declaration versus its impl.
```compile_fail,E0642
#![feature(universal_impl_trait)]
trait Foo
fn foo(&self, _: &impl Iterator)
trait Foo {
fn foo(&self, _: &impl Iterator);
}
impl Foo for () {
fn foo<U: Iterator>(&self, _: &U) { } // error method `foo` has incompatible