Intellij-rust: Unexpected multi resolve with glutin crate

Created on 19 Aug 2020  路  3Comments  路  Source: intellij-rust/intellij-rust

Environment

  • IntelliJ Rust plugin version: 0.3.129.3287-202-nightly
  • Rust toolchain version: 1.45.0 (5c1f21c3b 2020-07-13) x86_64-apple-darwin
  • IDE name and version: IntelliJ IDEA 2020.2.1 Preview Ultimate Edition (IU-202.6948.5)
  • Operating system: macOS 10.13.6

Problem description

The plugin shows two items as a result of name resolution of glutin::event_loop path. That leads to lack of name resolution for all items from this module (of course, it's expected because of multi resolve of event_loop module itself)
image

It's interesting that both name resolution results are the same

This bug was introduced in v128 release. Everything works fine with v127

Steps to reproduce

Cargo.toml

[dependencies]
glutin = "0.24"

main.rs

use glutin::event_loop::EventLoop;

fn main() {}
bug type inference & name resolution

Most helpful comment

All 3 comments

Bisected this to bcdc01d.

@Kobzol oh, thanks!

CC @SergeevPavel

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Juici picture Juici  路  3Comments

ralfbiedert picture ralfbiedert  路  3Comments

es50678 picture es50678  路  3Comments

itmuckel picture itmuckel  路  3Comments

ragagno picture ragagno  路  3Comments