rust/tests/ui/extern/issue-112363-extern-item-where-clauses-debug-ice.rs
2025-04-08 23:06:31 +03:00

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() {}