about summary refs log tree commit diff
path: root/clippy_lints/src/utils/paths.rs
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2020-05-11 20:23:47 +0200
committerflip1995 <hello@philkrones.com>2020-05-11 20:23:47 +0200
commitd13d8987b070e04c05a6e138c5a0feee596bc4aa (patch)
tree23ef453ef2a762a2e4745d67bb3d5afbd56d565d /clippy_lints/src/utils/paths.rs
parent51158cc71f43dc5986e1e503339ba093db5cc511 (diff)
downloadrust-d13d8987b070e04c05a6e138c5a0feee596bc4aa.tar.gz
rust-d13d8987b070e04c05a6e138c5a0feee596bc4aa.zip
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
Diffstat (limited to 'clippy_lints/src/utils/paths.rs')
-rw-r--r--clippy_lints/src/utils/paths.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/paths.rs b/clippy_lints/src/utils/paths.rs
index ca2c4ade155..b3ad2ad9d99 100644
--- a/clippy_lints/src/utils/paths.rs
+++ b/clippy_lints/src/utils/paths.rs
@@ -42,6 +42,7 @@ pub const FMT_ARGUMENTS_NEW_V1_FORMATTED: [&str; 4] = ["core", "fmt", "Arguments
 pub const FMT_ARGUMENTV1_NEW: [&str; 4] = ["core", "fmt", "ArgumentV1", "new"];
 pub const FROM_FROM: [&str; 4] = ["core", "convert", "From", "from"];
 pub const FROM_TRAIT: [&str; 3] = ["core", "convert", "From"];
+pub const FUTURE_FROM_GENERATOR: [&str; 3] = ["core", "future", "from_generator"];
 pub const HASH: [&str; 2] = ["hash", "Hash"];
 pub const HASHMAP: [&str; 5] = ["std", "collections", "hash", "map", "HashMap"];
 pub const HASHMAP_ENTRY: [&str; 5] = ["std", "collections", "hash", "map", "Entry"];
@@ -85,7 +86,7 @@ pub const RANGE: [&str; 3] = ["core", "ops", "Range"];
 pub const RANGE_ARGUMENT_TRAIT: [&str; 3] = ["core", "ops", "RangeBounds"];
 pub const RANGE_FROM: [&str; 3] = ["core", "ops", "RangeFrom"];
 pub const RANGE_FROM_STD: [&str; 3] = ["std", "ops", "RangeFrom"];
-pub const RANGE_FULL: [&str; 3] = ["core", "ops", "RangeFull"];
+pub const RANGE_FULL: [&str; 4] = ["core", "ops", "range", "RangeFull"];
 pub const RANGE_FULL_STD: [&str; 3] = ["std", "ops", "RangeFull"];
 pub const RANGE_INCLUSIVE_NEW: [&str; 4] = ["core", "ops", "RangeInclusive", "new"];
 pub const RANGE_INCLUSIVE_STD_NEW: [&str; 4] = ["std", "ops", "RangeInclusive", "new"];