suggesting for traits to import are not prefaced with crate
in Rust 2018
#54559
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
F-rust_2018_preview
`#![feature(rust_2018_preview)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Consider this test case in Rust 2018 (playground):
I get this error:
I would like to see
use crate::foo::Bar
, however.The text was updated successfully, but these errors were encountered: