Skip to content

Commit

Permalink
Fix unclosed delimiter in sample error
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvittal committed Nov 15, 2017
1 parent 7d25d2e commit 04ad8fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_typeck/diagnostics.rs
Expand Up @@ -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
Expand Down

0 comments on commit 04ad8fd

Please sign in to comment.