summary refs log tree commit diff
path: root/tests/ui/resolve/issue-3907-2.rs
blob: f261de5f4025a465267dd1adf547144cc34e3b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ aux-build:issue-3907.rs

extern crate issue_3907;

type Foo = dyn issue_3907::Foo + 'static;

struct S {
    name: isize
}

fn bar(_x: Foo) {}
//~^ ERROR E0038
//~| ERROR E0277

fn main() {}