about summary refs log tree commit diff
path: root/tests/ui/extern/issue-112363-extern-item-where-clauses-debug-ice.rs
blob: 6a4b7814ef18d3cb8565b1bb7e89aff012678f93 (plain)
1
2
3
4
5
6
7
8
9
10
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() {}