mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
f784fa7bd9
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
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')]"
|