error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:11:9 | 11 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:21:9 | 21 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:31:9 | 31 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:39:9 | 39 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:47:9 | 47 | FOO; | ^^^ not found in this scope error: duplicate lang item in crate `panic_halt` (which `$CRATE` depends on): `panic_impl`. | = note: the lang item is first defined in crate `std` (which `$CRATE` depends on) = note: first definition in `std` loaded from /usr/share/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cf0f33af3a901778.rlib = note: second definition in `panic_halt` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_halt-ba6f0ab3439cbc7e.rmeta error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. | = note: the lang item is first defined in crate `panic_halt` (which `$CRATE` depends on) = note: first definition in `panic_halt` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_halt-ba6f0ab3439cbc7e.rmeta = note: second definition in `panic_semihosting` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_semihosting-805015f4a2d05965.rmeta