mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-22 23:32:07 +00:00
16 lines
544 B
Diff
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
|
|
|