fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
350 B10 linesraw
1error[E0601]: `main` function not found in crate `cfg_attr_cfg_2`
2  --> $DIR/cfg-attr-cfg-2.rs:8:1
3   |
4LL | / #[cfg_attr(foo, cfg(bar))]
5LL | | fn main() { }
6   | |_____________^ consider adding a `main` function to `$DIR/cfg-attr-cfg-2.rs`
7
8error: aborting due to previous error
9
10For more information about this error, try `rustc --explain E0601`.