diff options
| author | Christopher Vittal <christopher.vittal@gmail.com> | 2017-11-10 15:35:19 -0500 |
|---|---|---|
| committer | Christopher Vittal <christopher.vittal@gmail.com> | 2017-11-15 15:46:01 -0500 |
| commit | 04ad8fd7a50ecd2c06556455cf25cc29fced1812 (patch) | |
| tree | ac0af4196fc563d9df63df88facb5752cfe1a30d | |
| parent | 7d25d2e05448663ac7294bc8d0bc6bdfe8f8c4c5 (diff) | |
| download | rust-04ad8fd7a50ecd2c06556455cf25cc29fced1812.tar.gz rust-04ad8fd7a50ecd2c06556455cf25cc29fced1812.zip | |
Fix unclosed delimiter in sample error
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 413cc0ae831..51ad668550e 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -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 |
