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

use std::ops::Add;

fn main() {
    let x = &10 as
            &Add;
            //~^ ERROR E0393
            //~| ERROR E0191
}