error[E0404]: expected trait, found builtin type `u32` --> $DIR/change-ty-to-const-param-sugg-0.rs:1:12 | LL | fn make() {} | ^^^ not a trait | help: you might have meant to write a const parameter here | LL | fn make() {} | +++++ error[E0404]: expected trait, found builtin type `usize` --> $DIR/change-ty-to-const-param-sugg-0.rs:5:17 | LL | struct Array([bool; N]); | ^^^^^ not a trait | help: you might have meant to write a const parameter here | LL | struct Array([bool; N]); | +++++ error[E0423]: expected value, found type parameter `N` --> $DIR/change-ty-to-const-param-sugg-0.rs:5:31 | LL | struct Array([bool; N]); | - ^ not a value | | | found this type parameter error: aborting due to 3 previous errors Some errors have detailed explanations: E0404, E0423. For more information about an error, try `rustc --explain E0404`.