Issue 50970 migration lint fq path#50983
Conversation
There was a problem hiding this comment.
whoops forgot about TODO. I'll fix tomorrow. I couldn't actually reproduce a bug here, so maybe it's fine as is, but it seems like this is wrong in some case or other and we should be tracking the root-id and root-path
There was a problem hiding this comment.
Hm so this may fall in this category?
#![crate_type = "rlib"]
#![feature(rust_2018_preview)]
#![warn(rust_2018_compatibility)]
#![allow(unused_imports, dead_code)]
mod foo {}
mod bar {}
fn main() {
use {foo::{}, bar::{}};
}Even with #50982 I think I'm still getting two warnings here
There was a problem hiding this comment.
I fixed it in any case.
There was a problem hiding this comment.
I found some other ways for it to go wrong, with a bit more effort =)
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
65e3b02 to
cb16a05
Compare
cb16a05 to
42d0b36
Compare
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
@bors: r+ p=1 (higher priority for the edition preview) |
|
📌 Commit 688324e has been approved by |
|
⌛ Testing commit 688324e with merge 0eee99b8d752ddaccd999e9aadbd6d9945b7d4f2... |
|
💔 Test failed - status-travis |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
1 similar comment
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
@bors: retry er... hanging in musl? |
…h, r=alexcrichton Issue 50970 migration lint fq path Similar issue, but for fully qualified paths. Fixes #50970 r? @alexcrichton
|
☀️ Test successful - status-appveyor, status-travis |
Similar issue, but for fully qualified paths.
Fixes #50970
r? @alexcrichton