mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
9 lines
179 B
Rust
9 lines
179 B
Rust
// Regression test for the ICE described in #87495.
|
|
|
|
trait T {
|
|
const CONST: (bool, dyn T);
|
|
//~^ ERROR: the trait `T` cannot be made into an object [E0038]
|
|
}
|
|
|
|
fn main() {}
|