about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorChristian Stefanescu <chris@0chris.com>2020-08-20 22:49:39 +0200
committerChristian Stefanescu <chris@0chris.com>2020-08-22 14:22:02 +0200
commit5b07b9ed61d1979320e9e63219b5d0d6f4b350f7 (patch)
treeabf71b5c226553c678b1b38ddc24994f649b1067 /src/test/incremental/thinlto
parenta8520b06365013cb5777f21cfc2672ab6f2cc21d (diff)
downloadrust-5b07b9ed61d1979320e9e63219b5d0d6f4b350f7.tar.gz
rust-5b07b9ed61d1979320e9e63219b5d0d6f4b350f7.zip
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions