]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-3907-2.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / resolve / issue-3907-2.rs
1 // aux-build:issue-3907.rs
2
3 extern crate issue_3907;
4
5 type Foo = dyn issue_3907::Foo + 'static;
6
7 struct S {
8     name: isize
9 }
10
11 fn bar(_x: Foo) {}
12 //~^ ERROR E0038
13
14 fn main() {}