rust/src/test
Mara Bos f347dab47c
Rollup merge of #78659 - ayrtonm:fn-ref-lint-fix, r=oli-obk
Corrected suggestion for generic parameters in `function_item_references` lint

This commit handles functions with generic type parameters like you pointed out as well as const generics. Also this is probably a minor thing, but the type alias you used in the example doesn't show up so the suggestion right now would be `size_of::<[u8; 16]> as fn() ->`. This is because the lint checker works with MIR instead of HIR. I don't think we can get the alias at that point, but let me know if I'm wrong and there's a way to fix this. Also I put you as the reviewer, but I'm not sure if you want to review it or if it makes more sense to ask one of the original reviewers of this lint.
closes #78571
2020-11-03 19:32:38 +01:00
..
assembly Add asm! support for mips64 2020-10-04 12:01:21 +00:00
auxiliary
codegen Rollup merge of #77950 - arlosi:sha256, r=eddyb 2020-11-03 19:32:26 +01:00
codegen-units simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
compile-fail Add compile fail test for issue 27675 2020-10-08 08:18:59 +02:00
debuginfo BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values 2020-10-14 13:03:23 +02:00
incremental simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
mir-opt Disable "optimization to avoid load of address" in InstCombine 2020-10-27 10:59:28 +01:00
pretty
run-make Ignore on 32-bit targets 2020-10-19 16:41:36 +02:00
run-make-fulldeps Assert that locals have storage when used 2020-10-31 21:06:29 +01:00
run-pass-valgrind Add unsized_fn_params feature 2020-10-27 14:45:02 -03:00
rustdoc Update tests 2020-10-29 11:43:21 +01:00
rustdoc-js Add test for whitespace in doc alias 2020-10-05 16:37:13 +02:00
rustdoc-js-std
rustdoc-ui Rollup merge of #77753 - GuillaumeGomez:check-html-comments, r=jyn514 2020-10-15 07:32:31 +09:00
rustfix
ui Rollup merge of #78659 - ayrtonm:fn-ref-lint-fix, r=oli-obk 2020-11-03 19:32:38 +01:00
ui-fulldeps Replace run_compiler with RunCompiler builder pattern. 2020-10-08 16:11:45 -03:00
COMPILER_TESTS.md