]> git.proxmox.com Git - rustc.git/blame_incremental - tests/ui/coherence/coherence-overlap-issue-23516-inherent.next.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / tests / ui / coherence / coherence-overlap-issue-23516-inherent.next.stderr
... / ...
CommitLineData
1error[E0592]: duplicate definitions with name `dummy`
2 --> $DIR/coherence-overlap-issue-23516-inherent.rs:12:25
3 |
4LL | impl<T:Sugar> Cake<T> { fn dummy(&self) { } }
5 | ^^^^^^^^^^^^^^^ duplicate definitions for `dummy`
6LL |
7LL | impl<U:Sugar> Cake<Box<U>> { fn dummy(&self) { } }
8 | --------------- other definition for `dummy`
9 |
10 = note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>`
11
12error: aborting due to 1 previous error
13
14For more information about this error, try `rustc --explain E0592`.