diff options
| author | bors <bors@rust-lang.org> | 2020-08-22 12:50:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-22 12:50:22 +0000 |
| commit | f21d10b970c2ff7216dc1ae2e9b7c0e8610eed2a (patch) | |
| tree | f34783d02fddd0d77cc53fcd1592dce18d664745 /src/rustllvm/RustWrapper.cpp | |
| parent | a8520b06365013cb5777f21cfc2672ab6f2cc21d (diff) | |
| parent | e615a26ae4fe293cda83961470907e78e4b2ee75 (diff) | |
| download | rust-f21d10b970c2ff7216dc1ae2e9b7c0e8610eed2a.tar.gz rust-f21d10b970c2ff7216dc1ae2e9b7c0e8610eed2a.zip | |
Auto merge of #5929 - stchris:issues/5917, r=ebroto
Widen understanding of prelude import Prelude imports are exempt from wildcard import warnings. Until now only imports of the form ``` use ...::prelude::*; ``` were considered. This change makes it so that the segment `prelude` can show up anywhere, for instance: ``` use ...::prelude::v1::*; ``` Fixes #5917 changelog: Allow `prelude` to appear in any segment of the import path in [`wildcard_imports`]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
