From: Pietro Albini Date: Tue, 2 Oct 2018 20:54:29 +0000 (+0200) Subject: Rollup merge of #54603 - davidtwco:issue-54559, r=nikomatsakis X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f70f6ec56751e5095830fd93d0607f368cf4ec15;p=rust.git Rollup merge of #54603 - davidtwco:issue-54559, r=nikomatsakis Add `crate::` to trait suggestions in Rust 2018. Fixes #54559. In the 2018 edition, when suggesting traits to import that implement a given method that is being invoked, suggestions will now include the `crate::` prefix if the suggested trait is local to the current crate. r? @nikomatsakis --- f70f6ec56751e5095830fd93d0607f368cf4ec15