diff options
Diffstat (limited to 'tests/ui/no_std/no-std-no-start-binary.stderr')
| -rw-r--r-- | tests/ui/no_std/no-std-no-start-binary.stderr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/no_std/no-std-no-start-binary.stderr b/tests/ui/no_std/no-std-no-start-binary.stderr new file mode 100644 index 00000000000..dd06c234da2 --- /dev/null +++ b/tests/ui/no_std/no-std-no-start-binary.stderr @@ -0,0 +1,6 @@ +error: using `fn main` requires the standard library + | + = help: use `#![no_main]` to bypass the Rust generated entrypoint and declare a platform specific entrypoint yourself, usually with `#[no_mangle]` + +error: aborting due to 1 previous error + |
