summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-3907-2.rs
blob: 46f145e63e1579d10c27dea67589e3299f7a7335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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

fn main() {}