2023-03-18 23:27:36 +01:00
|
|
|
// Regression test for <https://github.com/rust-lang/rust/issues/109282>.
|
|
|
|
// Import for `ValueEnum` is inlined and doc comments on the import and `ValueEnum` itself are
|
|
|
|
// merged. After the merge they still have correct parent scopes to resolve both `[ValueEnum]`.
|
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ check-pass
|
2023-03-18 23:27:36 +01:00
|
|
|
|
|
|
|
mod m {
|
|
|
|
pub enum ValueEnum {}
|
|
|
|
}
|
|
|
|
mod m2 {
|
|
|
|
/// [`ValueEnum`]
|
|
|
|
pub use crate::m::ValueEnum;
|
|
|
|
}
|
|
|
|
pub use m2::ValueEnum;
|