rustc/debian/patches/d-ignore-impl-generic-mismatch-diff.patch
2018-08-04 22:51:10 -07:00

16 lines
544 B
Diff

Bug: https://github.com/rust-lang/rust/issues/53081
--- a/src/test/ui/impl-trait/impl-generic-mismatch.stderr
+++ b/src/test/ui/impl-trait/impl-generic-mismatch.stderr
@@ -29,11 +29,6 @@
|
LL | fn hash(&self, hasher: &mut impl Hasher) {}
| ^^^^^^^^^^^ expected generic parameter, found `impl Trait`
- |
- ::: $SRC_DIR/libcore/hash/mod.rs:185:13
- |
-LL | fn hash<H: Hasher>(&self, state: &mut H);
- | - declaration in trait here
error: aborting due to 3 previous errors