2016-04-14 16:13:15 +00:00
|
|
|
//! This module contains paths to types and functions Clippy needs to know about.
|
|
|
|
|
2017-06-06 17:26:50 +00:00
|
|
|
pub const ASMUT_TRAIT: [&'static str; 3] = ["core", "convert", "AsMut"];
|
2017-02-18 08:00:36 +00:00
|
|
|
pub const ASREF_TRAIT: [&'static str; 3] = ["core", "convert", "AsRef"];
|
2016-10-22 13:57:19 +00:00
|
|
|
pub const BEGIN_PANIC: [&'static str; 3] = ["std", "panicking", "begin_panic"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const BINARY_HEAP: [&'static str; 3] = ["alloc", "binary_heap", "BinaryHeap"];
|
2017-02-18 08:00:36 +00:00
|
|
|
pub const BORROW_TRAIT: [&'static str; 3] = ["core", "borrow", "Borrow"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const BOX: [&'static str; 3] = ["std", "boxed", "Box"];
|
2016-04-26 11:31:52 +00:00
|
|
|
pub const BOX_NEW: [&'static str; 4] = ["std", "boxed", "Box", "new"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const BTREEMAP: [&'static str; 4] = ["alloc", "btree", "map", "BTreeMap"];
|
|
|
|
pub const BTREEMAP_ENTRY: [&'static str; 4] = ["alloc", "btree", "map", "Entry"];
|
|
|
|
pub const BTREESET: [&'static str; 4] = ["alloc", "btree", "set", "BTreeSet"];
|
2016-04-26 11:43:23 +00:00
|
|
|
pub const CLONE: [&'static str; 4] = ["core", "clone", "Clone", "clone"];
|
|
|
|
pub const CLONE_TRAIT: [&'static str; 3] = ["core", "clone", "Clone"];
|
2016-04-26 11:31:52 +00:00
|
|
|
pub const CMP_MAX: [&'static str; 3] = ["core", "cmp", "max"];
|
|
|
|
pub const CMP_MIN: [&'static str; 3] = ["core", "cmp", "min"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const COW: [&'static str; 3] = ["alloc", "borrow", "Cow"];
|
2016-12-02 16:38:31 +00:00
|
|
|
pub const CSTRING_NEW: [&'static str; 5] = ["std", "ffi", "c_str", "CString", "new"];
|
2016-10-22 13:57:19 +00:00
|
|
|
pub const DEBUG_FMT_METHOD: [&'static str; 4] = ["core", "fmt", "Debug", "fmt"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const DEFAULT_TRAIT: [&'static str; 3] = ["core", "default", "Default"];
|
2016-10-22 13:57:19 +00:00
|
|
|
pub const DISPLAY_FMT_METHOD: [&'static str; 4] = ["core", "fmt", "Display", "fmt"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const DROP: [&'static str; 3] = ["core", "mem", "drop"];
|
2016-10-22 13:57:19 +00:00
|
|
|
pub const FMT_ARGUMENTS_NEWV1: [&'static str; 4] = ["core", "fmt", "Arguments", "new_v1"];
|
|
|
|
pub const FMT_ARGUMENTV1_NEW: [&'static str; 4] = ["core", "fmt", "ArgumentV1", "new"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const HASH: [&'static str; 2] = ["hash", "Hash"];
|
2016-04-26 11:31:52 +00:00
|
|
|
pub const HASHMAP: [&'static str; 5] = ["std", "collections", "hash", "map", "HashMap"];
|
|
|
|
pub const HASHMAP_ENTRY: [&'static str; 5] = ["std", "collections", "hash", "map", "Entry"];
|
|
|
|
pub const HASHSET: [&'static str; 5] = ["std", "collections", "hash", "set", "HashSet"];
|
2016-10-01 00:01:30 +00:00
|
|
|
pub const INTO_ITERATOR: [&'static str; 4] = ["core", "iter", "traits", "IntoIterator"];
|
2016-10-22 13:57:19 +00:00
|
|
|
pub const IO_PRINT: [&'static str; 4] = ["std", "io", "stdio", "_print"];
|
2017-01-07 11:35:45 +00:00
|
|
|
pub const IO_READ: [&'static str; 3] = ["std", "io", "Read"];
|
|
|
|
pub const IO_WRITE: [&'static str; 3] = ["std", "io", "Write"];
|
2016-04-26 11:31:52 +00:00
|
|
|
pub const ITERATOR: [&'static str; 4] = ["core", "iter", "iterator", "Iterator"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const LINKED_LIST: [&'static str; 3] = ["alloc", "linked_list", "LinkedList"];
|
2016-09-01 07:07:37 +00:00
|
|
|
pub const LINT: [&'static str; 3] = ["rustc", "lint", "Lint"];
|
|
|
|
pub const LINT_ARRAY: [&'static str; 3] = ["rustc", "lint", "LintArray"];
|
2016-04-20 20:10:23 +00:00
|
|
|
pub const MEM_FORGET: [&'static str; 3] = ["core", "mem", "forget"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const MUTEX: [&'static str; 4] = ["std", "sync", "mutex", "Mutex"];
|
|
|
|
pub const OPEN_OPTIONS: [&'static str; 3] = ["std", "fs", "OpenOptions"];
|
2016-05-11 13:32:20 +00:00
|
|
|
pub const OPS_MODULE: [&'static str; 2] = ["core", "ops"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const OPTION: [&'static str; 3] = ["core", "option", "Option"];
|
2016-10-29 16:56:12 +00:00
|
|
|
pub const OPTION_NONE: [&'static str; 4] = ["core", "option", "Option", "None"];
|
|
|
|
pub const OPTION_SOME: [&'static str; 4] = ["core", "option", "Option", "Some"];
|
2016-08-22 16:29:29 +00:00
|
|
|
pub const PTR_NULL: [&'static str; 2] = ["ptr", "null"];
|
|
|
|
pub const PTR_NULL_MUT: [&'static str; 2] = ["ptr", "null_mut"];
|
2016-04-26 11:31:52 +00:00
|
|
|
pub const RANGE: [&'static str; 3] = ["core", "ops", "Range"];
|
|
|
|
pub const RANGE_FROM: [&'static str; 3] = ["core", "ops", "RangeFrom"];
|
|
|
|
pub const RANGE_FROM_STD: [&'static str; 3] = ["std", "ops", "RangeFrom"];
|
|
|
|
pub const RANGE_FULL: [&'static str; 3] = ["core", "ops", "RangeFull"];
|
|
|
|
pub const RANGE_FULL_STD: [&'static str; 3] = ["std", "ops", "RangeFull"];
|
|
|
|
pub const RANGE_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeInclusive"];
|
|
|
|
pub const RANGE_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeInclusive"];
|
|
|
|
pub const RANGE_STD: [&'static str; 3] = ["std", "ops", "Range"];
|
|
|
|
pub const RANGE_TO: [&'static str; 3] = ["core", "ops", "RangeTo"];
|
|
|
|
pub const RANGE_TO_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeToInclusive"];
|
|
|
|
pub const RANGE_TO_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeToInclusive"];
|
|
|
|
pub const RANGE_TO_STD: [&'static str; 3] = ["std", "ops", "RangeTo"];
|
2016-04-14 22:09:37 +00:00
|
|
|
pub const REGEX: [&'static str; 3] = ["regex", "re_unicode", "Regex"];
|
2016-05-25 19:36:51 +00:00
|
|
|
pub const REGEX_BUILDER_NEW: [&'static str; 5] = ["regex", "re_builder", "unicode", "RegexBuilder", "new"];
|
2016-05-25 15:15:19 +00:00
|
|
|
pub const REGEX_BYTES: [&'static str; 3] = ["regex", "re_bytes", "Regex"];
|
2016-05-25 19:36:51 +00:00
|
|
|
pub const REGEX_BYTES_BUILDER_NEW: [&'static str; 5] = ["regex", "re_builder", "bytes", "RegexBuilder", "new"];
|
2016-05-25 15:15:19 +00:00
|
|
|
pub const REGEX_BYTES_NEW: [&'static str; 4] = ["regex", "re_bytes", "Regex", "new"];
|
|
|
|
pub const REGEX_BYTES_SET_NEW: [&'static str; 5] = ["regex", "re_set", "bytes", "RegexSet", "new"];
|
|
|
|
pub const REGEX_NEW: [&'static str; 4] = ["regex", "re_unicode", "Regex", "new"];
|
|
|
|
pub const REGEX_SET_NEW: [&'static str; 5] = ["regex", "re_set", "unicode", "RegexSet", "new"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const RESULT: [&'static str; 3] = ["core", "result", "Result"];
|
2016-10-29 16:56:12 +00:00
|
|
|
pub const RESULT_ERR: [&'static str; 4] = ["core", "result", "Result", "Err"];
|
|
|
|
pub const RESULT_OK: [&'static str; 4] = ["core", "result", "Result", "Ok"];
|
2016-07-15 16:10:28 +00:00
|
|
|
pub const SERDE_DE_VISITOR: [&'static str; 3] = ["serde", "de", "Visitor"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const SLICE_INTO_VEC: [&'static str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"];
|
|
|
|
pub const STRING: [&'static str; 3] = ["alloc", "string", "String"];
|
|
|
|
pub const TO_OWNED: [&'static str; 3] = ["alloc", "borrow", "ToOwned"];
|
|
|
|
pub const TO_STRING: [&'static str; 3] = ["alloc", "string", "ToString"];
|
2016-04-14 16:13:15 +00:00
|
|
|
pub const TRANSMUTE: [&'static str; 4] = ["core", "intrinsics", "", "transmute"];
|
2017-06-04 21:28:01 +00:00
|
|
|
pub const TRY_INTO_RESULT: [&'static str; 4] = ["std", "ops", "Try", "into_result"];
|
2017-06-16 03:30:55 +00:00
|
|
|
pub const VEC: [&'static str; 3] = ["alloc", "vec", "Vec"];
|
|
|
|
pub const VEC_DEQUE: [&'static str; 3] = ["alloc", "vec_deque", "VecDeque"];
|
|
|
|
pub const VEC_FROM_ELEM: [&'static str; 3] = ["alloc", "vec", "from_elem"];
|