blob: dc9624698dfdd15c17b8a36fb75c519ad113ab16 (
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 = issue_3907::Foo+'static;
struct S {
name: isize
}
fn bar(_x: Foo) {}
//~^ ERROR E0038
fn main() {}
|