]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/utils/paths.rs
rustfmt fallout in doc comments
[rust.git] / clippy_lints / src / utils / paths.rs
1 //! This module contains paths to types and functions Clippy needs to know about.
2
3 pub const BEGIN_PANIC: [&'static str; 3] = ["std", "panicking", "begin_panic"];
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; 5] = ["std", "ffi", "c_str", "CString", "new"];
16 pub const DEBUG_FMT_METHOD: [&'static str; 4] = ["core", "fmt", "Debug", "fmt"];
17 pub const DEFAULT_TRAIT: [&'static str; 3] = ["core", "default", "Default"];
18 pub const DISPLAY_FMT_METHOD: [&'static str; 4] = ["core", "fmt", "Display", "fmt"];
19 pub const DROP: [&'static str; 3] = ["core", "mem", "drop"];
20 pub const FMT_ARGUMENTS_NEWV1: [&'static str; 4] = ["core", "fmt", "Arguments", "new_v1"];
21 pub const FMT_ARGUMENTV1_NEW: [&'static str; 4] = ["core", "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 INTO_ITERATOR: [&'static str; 4] = ["core", "iter", "traits", "IntoIterator"];
27 pub const IO_PRINT: [&'static str; 4] = ["std", "io", "stdio", "_print"];
28 pub const ITERATOR: [&'static str; 4] = ["core", "iter", "iterator", "Iterator"];
29 pub const LINKED_LIST: [&'static str; 3] = ["collections", "linked_list", "LinkedList"];
30 pub const LINT: [&'static str; 3] = ["rustc", "lint", "Lint"];
31 pub const LINT_ARRAY: [&'static str; 3] = ["rustc", "lint", "LintArray"];
32 pub const MEM_FORGET: [&'static str; 3] = ["core", "mem", "forget"];
33 pub const MUTEX: [&'static str; 4] = ["std", "sync", "mutex", "Mutex"];
34 pub const OPEN_OPTIONS: [&'static str; 3] = ["std", "fs", "OpenOptions"];
35 pub const OPS_MODULE: [&'static str; 2] = ["core", "ops"];
36 pub const OPTION: [&'static str; 3] = ["core", "option", "Option"];
37 pub const OPTION_NONE: [&'static str; 4] = ["core", "option", "Option", "None"];
38 pub const OPTION_SOME: [&'static str; 4] = ["core", "option", "Option", "Some"];
39 pub const PTR_NULL: [&'static str; 2] = ["ptr", "null"];
40 pub const PTR_NULL_MUT: [&'static str; 2] = ["ptr", "null_mut"];
41 pub const RANGE: [&'static str; 3] = ["core", "ops", "Range"];
42 pub const RANGE_FROM: [&'static str; 3] = ["core", "ops", "RangeFrom"];
43 pub const RANGE_FROM_STD: [&'static str; 3] = ["std", "ops", "RangeFrom"];
44 pub const RANGE_FULL: [&'static str; 3] = ["core", "ops", "RangeFull"];
45 pub const RANGE_FULL_STD: [&'static str; 3] = ["std", "ops", "RangeFull"];
46 pub const RANGE_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeInclusive"];
47 pub const RANGE_INCLUSIVE_NON_EMPTY: [&'static str; 4] = ["core", "ops", "RangeInclusive", "NonEmpty"];
48 pub const RANGE_INCLUSIVE_NON_EMPTY_STD: [&'static str; 4] = ["std", "ops", "RangeInclusive", "NonEmpty"];
49 pub const RANGE_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeInclusive"];
50 pub const RANGE_STD: [&'static str; 3] = ["std", "ops", "Range"];
51 pub const RANGE_TO: [&'static str; 3] = ["core", "ops", "RangeTo"];
52 pub const RANGE_TO_INCLUSIVE: [&'static str; 3] = ["core", "ops", "RangeToInclusive"];
53 pub const RANGE_TO_INCLUSIVE_STD: [&'static str; 3] = ["std", "ops", "RangeToInclusive"];
54 pub const RANGE_TO_STD: [&'static str; 3] = ["std", "ops", "RangeTo"];
55 pub const REGEX: [&'static str; 3] = ["regex", "re_unicode", "Regex"];
56 pub const REGEX_BUILDER_NEW: [&'static str; 5] = ["regex", "re_builder", "unicode", "RegexBuilder", "new"];
57 pub const REGEX_BYTES: [&'static str; 3] = ["regex", "re_bytes", "Regex"];
58 pub const REGEX_BYTES_BUILDER_NEW: [&'static str; 5] = ["regex", "re_builder", "bytes", "RegexBuilder", "new"];
59 pub const REGEX_BYTES_NEW: [&'static str; 4] = ["regex", "re_bytes", "Regex", "new"];
60 pub const REGEX_BYTES_SET_NEW: [&'static str; 5] = ["regex", "re_set", "bytes", "RegexSet", "new"];
61 pub const REGEX_NEW: [&'static str; 4] = ["regex", "re_unicode", "Regex", "new"];
62 pub const REGEX_SET_NEW: [&'static str; 5] = ["regex", "re_set", "unicode", "RegexSet", "new"];
63 pub const RESULT: [&'static str; 3] = ["core", "result", "Result"];
64 pub const RESULT_ERR: [&'static str; 4] = ["core", "result", "Result", "Err"];
65 pub const RESULT_OK: [&'static str; 4] = ["core", "result", "Result", "Ok"];
66 pub const SERDE_DE_VISITOR: [&'static str; 3] = ["serde", "de", "Visitor"];
67 pub const SLICE_INTO_VEC: [&'static str; 4] = ["collections", "slice", "<impl [T]>", "into_vec"];
68 pub const STRING: [&'static str; 3] = ["collections", "string", "String"];
69 pub const TRANSMUTE: [&'static str; 4] = ["core", "intrinsics", "", "transmute"];
70 pub const VEC: [&'static str; 3] = ["collections", "vec", "Vec"];
71 pub const VEC_DEQUE: [&'static str; 3] = ["collections", "vec_deque", "VecDeque"];
72 pub const VEC_FROM_ELEM: [&'static str; 3] = ["collections", "vec", "from_elem"];