]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-types/issue-22560.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / associated-types / issue-22560.rs
CommitLineData
dfeec247
XL
1trait Add<Rhs=Self> {
2 type Output;
3}
c34b1796 4
dfeec247
XL
5trait Sub<Rhs=Self> {
6 type Output;
7}
8
9type Test = dyn Add + Sub;
10//~^ ERROR E0393
11//~| ERROR E0191
12//~| ERROR E0393
13//~| ERROR E0225
c34b1796 14
ff7c6d11 15fn main() { }