about summary refs log tree commit diff
path: root/src/test/ui/rust-2018/auxiliary
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-70/+1
2018-11-30tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests.Eduard-Mihai Burtescu-0/+1
2018-11-30tests: move all proc_macro tests from -fulldeps.Eduard-Mihai Burtescu-0/+22
2018-11-28resolve: Fix false-positives from lint `absolute_paths_not_starting_with_crate`Vadim Petrochenkov-0/+11
2018-10-03Add suggestions for unresolved imports.David Wood-0/+15
This commit adds suggestions for unresolved imports in the cases where there could be a missing `crate::`, `super::`, `self::` or a missing external crate name before an import.
2018-10-02Add `crate::` to trait suggestions in Rust 2018.David Wood-0/+15
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.
2018-08-27rustc: Suggest removing `extern crate` in 2018Alex Crichton-0/+19
This commit updates the `unused_extern_crates` lint to make automatic suggestions about removing `extern crate` annotations in the 2018 edition. This ended up being a little easier than originally though due to what's likely been fixed issues in the resolver! Closes #52829
2018-07-12rustc: Lint against `#[macro_use]` in 2018 idiomsAlex Crichton-0/+22
This commit adds a lint to the compiler to warn against the `#[macro_use]` directive as part of the `rust_2018_idioms` lint. This lint is turned off by default and is only enabled when the `use_extern_macros` feature is also enabled. The lint here isn't fully fleshed out as it's just a simple warning rather than suggestions of how to actually import the macro, but hopefully it's a good base to start from! cc #52043
2018-05-22create a rust-2018 directory for tests related to edition transitionNiko Matsakis-0/+11