记录详情

Compile Error

error: expected `;`, found `println`
 --> /w/foo.rs:2:29
  |
2 |     let english = "Hello World"
  |                                ^ help: add `;` here
3 |     println!("{}",english)
  |     ------- unexpected token

error[E0601]: `main` function not found in crate `foo`
 --> /w/foo.rs:4:2
  |
4 | }
  |  ^ consider adding a `main` function to `/w/foo.rs`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0601`.
正在同步测试数据,请稍后

信息

递交者
类型
递交
题目
Hello World!
语言
Rust
递交时间
2024-03-28 13:11:15
评测时间
2024-03-28 13:11:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes