// SPDX-License-Identifier: MIT OR Apache-2.0
//! The shortest thing `#[some_executor::main]` can be written as, and the
//! fallible form.
//!
//! No backend argument, so this runs on the built-in fallback executor. That is
//! what makes an example like this a single file with no dependency on a
//! particular runtime -- and also why the fallback prints a warning when it
//! starts. A real program names its backend.
//!
//! The `-> Result` is the other half: the macro never looks at the declared
//! return type, so this compiles for the same reason a `-> ()` one does. An
//! `Err` here would be logged and would panic; see
//! `some_executor::entry_point::MainResult`.
//!
//! Run with: `cargo run --example main_macro_default`
async