]> git.lizzy.rs Git - rust.git/blob - tests/ui/conditional-compilation/cfg-attr-cfg-2.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / conditional-compilation / cfg-attr-cfg-2.stderr
1 error[E0601]: `main` function not found in crate `cfg_attr_cfg_2`
2   --> $DIR/cfg-attr-cfg-2.rs:9:14
3    |
4 LL | fn main() { }
5    |              ^ consider adding a `main` function to `$DIR/cfg-attr-cfg-2.rs`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0601`.