summary refs log tree commit diff
path: root/src/test/ui/issues/issue-22560.rs
blob: d91211e556b11b21ebdb458ed96fbc5f432b0d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// ignore-tidy-linelength

use std::ops::{Add, Sub};

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

fn main() { }