diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-03 23:08:08 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 23:08:08 +1000 |
| commit | 8746c2302c5e5a1a0eb575d7400d596f10c8e922 (patch) | |
| tree | 2a0f216190ed1f048b7c828a4736404106814593 /tests/ui | |
| parent | b5bba66a261cde8046834d7d0be0608a56fb0ee4 (diff) | |
| parent | 8930d3a7504a7bda441782c65a9d6320e7674ba3 (diff) | |
| download | rust-8746c2302c5e5a1a0eb575d7400d596f10c8e922.tar.gz rust-8746c2302c5e5a1a0eb575d7400d596f10c8e922.zip | |
Rollup merge of #145961 - petrochenkov:extprelregr, r=nnethercote
resolve: Avoid a regression from splitting prelude into two scopes Fixes https://github.com/rust-lang/rust/issues/145575.
Diffstat (limited to 'tests/ui')
| -rw-r--r-- | tests/ui/imports/overwritten-extern-flag-ambig.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/imports/overwritten-extern-flag-ambig.rs b/tests/ui/imports/overwritten-extern-flag-ambig.rs new file mode 100644 index 00000000000..80f394d34de --- /dev/null +++ b/tests/ui/imports/overwritten-extern-flag-ambig.rs @@ -0,0 +1,13 @@ +// Test for issue #145575. + +//@ check-pass +//@ edition: 2018 + +extern crate core as std; + +mod inner { + use crate::*; + use std::str; // OK for now +} + +fn main() {} |
