summary refs log tree commit diff
path: root/src/test/ui/issues/issue-22560.rs
blob: acee99dbedcc4bd6a2b18b81826601b193974384 (plain)
1
2
3
4
5
6
7
8
9
10
use std::ops::{Add, Sub};

type Test = dyn Add +
            //~^ ERROR E0393
            //~| ERROR E0191
            Sub;
            //~^ ERROR E0393
            //~| ERROR E0225

fn main() { }