]> git.lizzy.rs Git - rust.git/blob - src/utils/paths.rs
2e6ceb5009697ee3e394a3bf329522237f771b3d
[rust.git] / src / utils / paths.rs
1 //! This module contains paths to types and functions Clippy needs to know about.
2
3 pub const BEGIN_UNWIND: [&'static str; 3] = ["std", "rt", "begin_unwind"];
4 pub const BINARY_HEAP: [&'static str; 3] = ["collections", "binary_heap", "BinaryHeap"];
5 pub const BOX: [&'static str; 3] = ["std", "boxed", "Box"];
6 pub const BOX_NEW: [&'static str; 4] = ["std", "boxed", "Box", "new"];
7 pub const BTREEMAP: [&'static str; 4] = ["collections", "btree", "map", "BTreeMap"];
8 pub const BTREEMAP_ENTRY: [&'static str; 4] = ["collections", "btree", "map", "Entry"];
9 pub const BTREESET: [&'static str; 4] = ["collections", "btree", "set", "BTreeSet"];
10 pub const CLONE: [&'static str; 4] = ["core", "clone", "Clone", "clone"];
11 pub const CLONE_TRAIT: [&'static str; 3] = ["core", "clone", "Clone"];
12 pub const CMP_MAX: [&'static str; 3] = ["core", "cmp", "max"];
13 pub const CMP_MIN: [&'static str; 3] = ["core", "cmp", "min"];
14 pub const COW: [&'static str; 3] = ["collections", "borrow", "Cow"];
15 pub const CSTRING_NEW: [&'static str; 4] = ["std", "ffi", "CString", "new"];
16 pub const DEBUG_FMT_METHOD: [&'static str; 4] = ["std", "fmt", "Debug", "fmt"];
17 pub const DEFAULT_TRAIT: [&'static str; 3] = ["core", "default", "Default"];
18 pub const DISPLAY_FMT_METHOD: [&'static str; 4] = ["std", "fmt", "Display", "fmt"];
19 pub const DROP: [&'static str; 3] = ["core", "mem", "drop"];
20 pub const FMT_ARGUMENTS_NEWV1: [&'static str; 4] = ["std", "fmt", "Arguments", "new_v1"];
21 pub const FMT_ARGUMENTV1_NEW: [&'static str; 4] = ["std", "fmt", "ArgumentV1", "new"];
22 pub const HASH: [&'static str; 2] = ["hash", "Hash"];
23 pub const HASHMAP: [&'static str; 5] = ["std", "collections", "hash", "map", "HashMap"];
24 pub const HASHMAP_ENTRY: [&'static str; 5] = ["std", "collections", "hash", "map", "Entry"];
25 pub const HASHSET: [&'static str; 5] = ["std", "collections", "hash", "set", "HashSet"];
26 pub const IO_PRINT: [&'static str; 3] = ["std", "io", "_print"];
27 pub const ITERATOR: [&'static str; 4] = ["core", "iter", "iterator", "Iterator"];
28 pub const LINKED_LIST: [&'static str; 3] = ["collections", "linked_list", "LinkedList"];
29 pub const MEM_FORGET: [&'static str; 3] = ["core", "mem", "forget"];
30 pub const MUTEX: [&'static str; 4] = ["std", "sync", "mutex", "Mutex"];
31 pub const OPEN_OPTIONS: [&'static str; 3] = ["std", "fs", "OpenOptions"];
32 pub const OPS_MODULE: [&'static str; 2] = ["core", "ops"];
33 pub const OPTION: [&'static str; 3] = ["core", "option", "Option"];
34 pub const RANGE: [&'static str; 3] = ["core", "ops", "Range"];
35 pub const RANGE_FROM: [&'static str; 3] = ["core", "ops", "RangeFrom"];
36 pub const RANGE_FROM_STD: [&'static str; 3] = ["std", "ops", "RangeFrom"];
37 pub const RANGE_FULL: [&'static str; 3] = ["core", "ops", "RangeFull"];
38 pub const RANGE_FULL_STD: [&'static str; 3] = ["std", "ops", "RangeFull"];
39 pub const RANGE_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeInclusive"];
40 pub const RANGE_INCLUSIVE_NON_EMPTY: [&'static str; 4] = ["core", "ops", "RangeInclusive", "NonEmpty"];
41 pub const RANGE_INCLUSIVE_NON_EMPTY_STD: [&'static str; 4] = ["std", "ops", "RangeInclusive", "NonEmpty"];
42 pub const RANGE_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeInclusive"];
43 pub const RANGE_STD: [&'static str; 3] = ["std", "ops", "Range"];
44 pub const RANGE_TO: [&'static str; 3] = ["core", "ops", "RangeTo"];
45 pub const RANGE_TO_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeToInclusive"];
46 pub const RANGE_TO_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeToInclusive"];
47 pub const RANGE_TO_STD: [&'static str; 3] = ["std", "ops", "RangeTo"];
48 pub const REGEX: [&'static str; 3] = ["regex", "re_unicode", "Regex"];
49 pub const REGEX_NEW: [&'static str; 3] = ["regex", "Regex", "new"];
50 pub const RESULT: [&'static str; 3] = ["core", "result", "Result"];
51 pub const STRING: [&'static str; 3] = ["collections", "string", "String"];
52 pub const TRANSMUTE: [&'static str; 4] = ["core", "intrinsics", "", "transmute"];
53 pub const VEC: [&'static str; 3] = ["collections", "vec", "Vec"];
54 pub const VEC_DEQUE: [&'static str; 3] = ["collections", "vec_deque", "VecDeque"];
55 pub const VEC_FROM_ELEM: [&'static str; 3] = ["std", "vec", "from_elem"];