2018-08-08 14:28:26 +02:00
|
|
|
error[E0601]: `main` function not found in crate `cfg_in_crate_1`
|
2022-01-21 00:15:39 +00:00
|
|
|
--> $DIR/cfg-in-crate-1.rs:3:13
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-09-08 13:06:49 -04:00
|
|
|
LL | #![cfg(bar)]
|
2022-01-21 00:15:39 +00:00
|
|
|
| ^ consider adding a `main` function to `$DIR/cfg-in-crate-1.rs`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0601`.
|