mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-27 12:48:20 +00:00
11 lines
340 B
Rust
11 lines
340 B
Rust
extern "C" {
|
|
type Item = [T] where [T]: Sized;
|
|
//~^ ERROR incorrect `type` inside `extern` block
|
|
//~| ERROR `type`s inside `extern` blocks cannot have `where` clauses
|
|
//~| ERROR cannot find type `T` in this scope
|
|
//~| ERROR cannot find type `T` in this scope
|
|
//~| ERROR extern types are experimental
|
|
}
|
|
|
|
fn main() {}
|