Lines Matching full:tests
22 "src/tools/clippy/tests/ui/needless_raw_string.rs",
23 "src/tools/clippy/tests/ui/needless_raw_string_hashes.rs",
28 "tests/ui/explicit-tail-calls/return-lifetime-sub.rs",
32 "src/tools/rustfmt/tests/source/issue_5721.rs",
33 "src/tools/rustfmt/tests/source/non-lifetime-binders.rs",
34 "src/tools/rustfmt/tests/target/issue_5721.rs",
35 "src/tools/rustfmt/tests/target/non-lifetime-binders.rs",
36 "tests/rustdoc-json/non_lifetime_binders.rs",
37 "tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs",
38 "tests/rustdoc/non_lifetime_binders.rs",
43 "tests/ui/associated-type-bounds/return-type-notation/basic.rs",
44 "tests/ui/feature-gates/feature-gate-return_type_notation.rs",
48 "tests/rustdoc/typedef-inner-variants-lazy_type_alias.rs",
53 "tests/ui/coroutine/gen_block_is_iter.rs",
54 "tests/ui/coroutine/gen_block_iterate.rs",
58 "tests/ui/parser/struct-literal-in-match-guard.rs",
61 "tests/ui/const-generics/early/closing-args-token.rs",
62 "tests/ui/const-generics/early/const-expression-parameter.rs",
65 "tests/ui/parser/variadic-ffi-syntactic-pass.rs",
68 "tests/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.rs",
71 "src/tools/rustfmt/tests/target/negative-bounds.rs",
74 "tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-syntax.rs",
77 "tests/ui/rfcs/rfc-2632-const-trait-impl/syntax.rs",
80 "src/tools/rustfmt/tests/source/trait.rs",
81 "src/tools/rustfmt/tests/target/trait.rs",
82 "tests/ui/issues/issue-13105.rs",
83 "tests/ui/issues/issue-13775.rs",
84 "tests/ui/issues/issue-34074.rs",
85 "tests/ui/proc-macro/trait-fn-args-2015.rs",
88 "src/tools/rustfmt/tests/source/issue_4257.rs",
89 "src/tools/rustfmt/tests/source/issue_4911.rs",
90 "src/tools/rustfmt/tests/target/issue_4257.rs",
91 "src/tools/rustfmt/tests/target/issue_4911.rs",
92 "tests/pretty/gat-bounds.rs",
93 "tests/rustdoc/generic-associated-types/gats.rs",
100 "src/tools/rustfmt/tests/source/attrib.rs",
101 "src/tools/rustfmt/tests/source/closure.rs",
102 "src/tools/rustfmt/tests/source/existential_type.rs",
103 "src/tools/rustfmt/tests/source/fn-simple.rs",
104 "src/tools/rustfmt/tests/source/fn_args_layout-vertical.rs",
105 "src/tools/rustfmt/tests/source/issue-4689/one.rs",
106 "src/tools/rustfmt/tests/source/issue-4689/two.rs",
107 "src/tools/rustfmt/tests/source/paths.rs",
108 "src/tools/rustfmt/tests/source/structs.rs",
109 "src/tools/rustfmt/tests/target/attrib.rs",
110 "src/tools/rustfmt/tests/target/closure.rs",
111 "src/tools/rustfmt/tests/target/existential_type.rs",
112 "src/tools/rustfmt/tests/target/fn-simple.rs",
113 "src/tools/rustfmt/tests/target/fn.rs",
114 "src/tools/rustfmt/tests/target/fn_args_layout-vertical.rs",
115 "src/tools/rustfmt/tests/target/issue-4689/one.rs",
116 "src/tools/rustfmt/tests/target/issue-4689/two.rs",
117 "src/tools/rustfmt/tests/target/paths.rs",
118 "src/tools/rustfmt/tests/target/structs.rs",
119 "tests/codegen-units/item-collection/non-generic-closures.rs",
120 "tests/debuginfo/recursive-enum.rs",
121 "tests/pretty/closure-reform-pretty.rs",
122 "tests/run-make/reproducible-build-2/reproducible-build.rs",
123 "tests/run-make/reproducible-build/reproducible-build.rs",
124 "tests/ui/auxiliary/typeid-intrinsic-aux1.rs",
125 "tests/ui/auxiliary/typeid-intrinsic-aux2.rs",
126 "tests/ui/impl-trait/generic-with-implicit-hrtb-without-dyn.rs",
127 "tests/ui/lifetimes/auxiliary/lifetime_bound_will_change_warning_lib.rs",
128 "tests/ui/lifetimes/bare-trait-object-borrowck.rs",
129 "tests/ui/lifetimes/bare-trait-object.rs",
130 "tests/ui/parser/bounds-obj-parens.rs",
133 "tests/ui/consts/miri_unleashed/const_refers_to_static_cross_crate.rs",
155 "src/tools/clippy/tests/ui/needless_return.rs",
157 "tests/pretty/yeet-expr.rs",
158 "tests/ui/try-trait/yeet-for-option.rs",
159 "tests/ui/try-trait/yeet-for-result.rs",
165 "src/tools/rustfmt/tests/source/configs/indent_style/block_call.rs",
166 "src/tools/rustfmt/tests/source/configs/use_try_shorthand/false.rs",
167 "src/tools/rustfmt/tests/source/configs/use_try_shorthand/true.rs",
168 "src/tools/rustfmt/tests/source/issue_1306.rs",
169 "src/tools/rustfmt/tests/source/try-conversion.rs",
170 "src/tools/rustfmt/tests/target/configs/indent_style/block_call.rs",
171 "src/tools/rustfmt/tests/target/configs/use_try_shorthand/false.rs",
172 "src/tools/rustfmt/tests/target/issue-1681.rs",
173 "src/tools/rustfmt/tests/target/issue_1306.rs",
174 "tests/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs",
175 "tests/ui/editions/edition-keywords-2015-2015.rs",
176 "tests/ui/editions/edition-keywords-2015-2018.rs",
177 "tests/ui/lint/lint_pre_expansion_extern_module_aux.rs",
178 "tests/ui/macros/macro-comma-support-rpass.rs",
179 "tests/ui/macros/try-macro.rs",
180 "tests/ui/parser/extern-crate-async.rs",
181 "tests/ui/try-block/try-is-identifier-edition2015.rs",
184 "tests/ui/issues/issue-74564-if-expr-stack-overflow.rs",
187 "src/tools/rustfmt/tests/coverage/target/comments.rs",
188 "src/tools/rustfmt/tests/parser/issue-4126/invalid.rs",
189 "src/tools/rustfmt/tests/parser/issue_4418.rs",
190 "src/tools/rustfmt/tests/parser/unclosed-delims/issue_4466.rs",
191 "src/tools/rustfmt/tests/source/configs/disable_all_formatting/true.rs",
192 "src/tools/rustfmt/tests/source/configs/spaces_around_ranges/false.rs",
193 "src/tools/rustfmt/tests/source/configs/spaces_around_ranges/true.rs",
194 "src/tools/rustfmt/tests/source/type.rs",
195 "src/tools/rustfmt/tests/target/configs/spaces_around_ranges/false.rs",
196 "src/tools/rustfmt/tests/target/configs/spaces_around_ranges/true.rs",
197 "src/tools/rustfmt/tests/target/type.rs",
198 "tests/run-make/translation/test.rs",
199 "tests/ui/generics/issue-94432-garbage-ice.rs",
208 "tests/ui/lint/expansion-time-include.rs",
209 "tests/ui/macros/auxiliary/macro-comma-support.rs",
210 "tests/ui/macros/auxiliary/macro-include-items-expr.rs",
211 "tests/ui/macros/include-single-expr-helper.rs",
212 "tests/ui/macros/include-single-expr-helper-1.rs",
213 "tests/ui/parser/issues/auxiliary/issue-21146-inc.rs",
232 static UI_TEST_DIRS: &[&str] = &["tests/ui", "tests/rustdoc-ui"];
237 let repo_dir = Path::new("tests/rust"); in for_each_rust_file()
273 let path_string = if path_string == "tests/rust" { in base_dir_filter()
275 } else if let Some(path) = path_string.strip_prefix("tests/rust/") { in base_dir_filter()
302 let needs_clone = match fs::read_to_string("tests/rust/COMMIT") { in clone_rust()
311 let test_src = Path::new("tests/rust"); in clone_rust()
357 let tests_rust = Path::new("tests/rust"); in download_and_unpack()
373 fs::write("tests/rust/COMMIT", REVISION)?; in download_and_unpack()