Closed
Description
We have a Rust-2015 doc test which has an extern crate $CRATE_DOC_TEST_IS_IN
which started failing to build on nightly 2021-11-21 (but passes on stable/2021-11-20).
It now fails with
---- src/chain/transaction.rs - chain::transaction::TransactionData (line 22) stdout ----
error[E0259]: the name `lightning` is defined multiple times
--> src/chain/transaction.rs:24:1
|
3 | extern crate lightning;
| ----------------------- previous import of the extern crate `lightning` here
4 |
5 | extern crate r#lightning;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `lightning` reimported here
|
= note: `lightning` must be defined only once in the type namespace of this module
error: aborting due to previous error