error: macro expansion ignores token `{` and any following
--> /build/rustc-1.75.0-src/library/std/src/macros.rs:83:23
|
::: /w/foo.rs:1:1
|
1 | print!{"Hello World"}
| --------------------- caused by the macro expansion here
|
= note: the usage of `print!` is likely invalid in item context
error[E0601]: `main` function not found in crate `foo`
--> /w/foo.rs:1:22
|
1 | print!{"Hello World"}
| ^ 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`.