]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-3907-2.rs
Auto merge of #100576 - joboet:movable_const_remutex, r=Mark-Simulacrum
[rust.git] / src / test / 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() {}