• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

main()1 fn main() {
2     // should hint to create an inline `const` block
3     // or to create a new `const` item
4     let strings: [String; 5] = [String::new(); 5];
5     //~^ ERROR the trait bound `String: Copy` is not satisfied
6     println!("{:?}", strings);
7 }
8