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