mirror of
https://git.proxmox.com/git/rustc
synced 2025-06-27 12:05:23 +00:00
12 lines
288 B
Rust
12 lines
288 B
Rust
// Regression test for https://github.com/rust-lang/rust/issues/101103
|
|
|
|
mod m1 {
|
|
pub fn x() {}
|
|
}
|
|
|
|
pub use m1::x;
|
|
|
|
// @has "$.index[*][?(@.name=='x' && @.inner.function)]"
|
|
// @has "$.index[*].inner[?(@.import.name=='x')].import.source" '"m1::x"'
|
|
// @!has "$.index[*][?(@.name=='m1')]"
|