mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
10 lines
284 B
Rust
10 lines
284 B
Rust
struct X;
|
|
|
|
// Make sure that we show the impl trait refs in the help message with
|
|
// their evaluated constants, rather than `core::::array::{impl#30}::{constant#0}`
|
|
|
|
fn main() {
|
|
<[X; 35] as Default>::default();
|
|
//~^ ERROR the trait bound `[X; 35]: Default` is not satisfied
|
|
}
|