diff options
| author | bors <bors@rust-lang.org> | 2017-09-21 20:12:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-09-21 20:12:22 +0000 |
| commit | 17f56c549c35bb2cb316e5abff116e65277c7bb1 (patch) | |
| tree | 4cbb280a21fbe176a91666ff86a1f9c4c4b2cd02 /src/libstd/sys | |
| parent | 1b55d19479eabcb5d6cbda651187c7004aa28f7f (diff) | |
| parent | f0e7a5b8e51ea7e2e6b66293d96696d68491b6ad (diff) | |
| download | rust-17f56c549c35bb2cb316e5abff116e65277c7bb1.tar.gz rust-17f56c549c35bb2cb316e5abff116e65277c7bb1.zip | |
Auto merge of #44215 - oli-obk:import_sugg, r=nrc
don't suggest placing `use` statements into expanded code r? @nrc fixes #44210 ```rust #[derive(Debug)] struct Foo; type X = Path; ``` will try to place `use std::path::Path;` between `#[derive(Debug)]` and `struct Foo;` I am not sure how to obtain a span before the first attribute, because derive attributes are removed during expansion. It would be trivial to detect this case and place the `use` after the item, but that would be somewhat weird I think.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
