1 error[E0425]: cannot find function `foo` in this scope
2 --> $DIR/test-cfg.rs:17:5
4 LL | foo(); //~ ERROR cannot find function `foo` in this scope
5 | ^^^ not found in this scope
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0425`.