mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
11 lines
227 B
Rust
11 lines
227 B
Rust
//@ build-pass
|
|
// Regression test for https://github.com/rust-lang/rust/issues/155037
|
|
#![feature(associated_type_defaults)]
|
|
|
|
trait Trait {
|
|
type 否 where = ();
|
|
//~^ WARNING where clause not allowed here
|
|
}
|
|
|
|
fn main() {}
|