diff options
| author | Oneirical <manchot@videotron.ca> | 2025-07-13 16:39:45 -0400 |
|---|---|---|
| committer | Oneirical <manchot@videotron.ca> | 2025-08-10 11:54:15 -0400 |
| commit | aa543963c68061d9ca46037071d66a028626ff3f (patch) | |
| tree | 2d6e7de7e1b2fe2176d81f48a456a05ef1b06dff /tests/ui/editions | |
| parent | f8e355c230c6eb7b78ffce6a92fd81f78c890524 (diff) | |
| download | rust-aa543963c68061d9ca46037071d66a028626ff3f.tar.gz rust-aa543963c68061d9ca46037071d66a028626ff3f.zip | |
Rehome tests/ui/issues/ tests [4/?]
Diffstat (limited to 'tests/ui/editions')
| -rw-r--r-- | tests/ui/editions/edition-specific-identifier-shadowing-53333.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/editions/edition-specific-identifier-shadowing-53333.rs b/tests/ui/editions/edition-specific-identifier-shadowing-53333.rs new file mode 100644 index 00000000000..dd973bb8439 --- /dev/null +++ b/tests/ui/editions/edition-specific-identifier-shadowing-53333.rs @@ -0,0 +1,10 @@ +// https://github.com/rust-lang/rust/issues/53333 +//@ run-pass +#![allow(unused_imports)] +//@ edition:2018 + +fn main() { + use std; + let std = "std"; + println!("{}", std); +} |
