rust/src/test
Zack M. Davis 1a9dc2e902 dead code lint to say "never constructed" for variants
As reported in #19140, #44083, and #44565, some users were confused when
the dead-code lint reported an enum variant to be "unused" when it was
matched on (but not constructed). This wording change makes it clearer
that the lint is in fact checking for construction.

We continue to say "used" for all other items (it's tempting to say
"called" for functions and methods, but this turns out not to be
correct: functions can be passed as arguments and the dead-code lint
isn't special-casing that or anything).

Resolves #19140.
2017-11-19 10:15:36 -08:00
..
codegen Emit debug info for trait object pointer 2017-11-15 01:48:14 -07:00
codegen-units Add regression tests for non-instantiation of inline and const fns. 2017-11-07 08:54:38 +01:00
compile-fail dead code lint to say "never constructed" for variants 2017-11-19 10:15:36 -08:00
compile-fail-fulldeps Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
debuginfo Implement display_hint in gdb pretty printers 2017-10-06 13:05:53 -06:00
incremental Rollup merge of #45951 - CrockAgile:master, r=michaelwoerister 2017-11-16 10:05:02 +01:00
mir-opt MIR: hide .rodata constants vs by-ref ABI clash in trans. 2017-11-17 01:37:10 +02:00
parse-fail Auto merge of #45773 - Badel2:dotdoteq, r=petrochenkov 2017-11-10 01:40:21 +00:00
pretty Rollup merge of #45784 - harpocrates:fix/print-parens-cast-lt, r=kennytm 2017-11-07 22:40:20 +08:00
run-fail rustc_typeck: use subtyping on the LHS of binops. 2017-10-31 17:34:46 +02:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make Auto merge of #45920 - sunfishcode:trap-on-unreachable, r=Zoxc 2017-11-16 06:10:36 +00:00
run-pass Auto merge of #46032 - KiChjang:ignore-borrowck-statics, r=nikomatsakis 2017-11-18 17:30:26 +00:00
run-pass-fulldeps Auto merge of #45773 - Badel2:dotdoteq, r=petrochenkov 2017-11-10 01:40:21 +00:00
run-pass-valgrind Add a run-pass-valgrind test for vecdeque issue 2017-09-24 10:56:08 -07:00
rustdoc Auto merge of #46000 - kennytm:fix-45640-extern-type-ice-in-rustdoc, r=QuietMisdreavus 2017-11-18 09:18:13 +00:00
ui Auto merge of #46039 - oli-obk:test_suggestions, r=petrochenkov 2017-11-18 20:52:19 +00:00
ui-fulldeps Rename Span::default -> Span::def_site. 2017-11-14 21:53:37 -08:00
COMPILER_TESTS.md Merge ui/README.md into COMPILER_TESTS.md and describe how custom UI normalization works. 2017-07-11 16:57:53 +08:00