Skip to content

Commit 04ad8fd

Browse files
committed
Fix unclosed delimiter in sample error
1 parent 7d25d2e commit 04ad8fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4631,8 +4631,8 @@ impl Trait parameters in a trait declaration versus its impl.
46314631
46324632
```compile_fail,E0642
46334633
#![feature(universal_impl_trait)]
4634-
trait Foo
4635-
fn foo(&self, _: &impl Iterator)
4634+
trait Foo {
4635+
fn foo(&self, _: &impl Iterator);
46364636
}
46374637
impl Foo for () {
46384638
fn foo<U: Iterator>(&self, _: &U) { } // error method `foo` has incompatible

0 commit comments

Comments
 (0)