rust/src/test
Ralf Jung 244465dbb8
Rollup merge of #73001 - ilya-bobyr:master, r=dtolnay
Free `default()` forwarding to `Default::default()`

It feels a bit redundant to have to say `Default::default()` every time I need a new value of a type that has a `Default` instance.
Especially so, compared to Haskell, where the same functionality is called `def`.
Providing a free `default()` function that forwards to `Default::default()` seems to improve the situation.
The trait is still there, so if someone wants to be explicit and to say `Default::default()` - it still works, but if imported as `std::default::default;`, then the free function reduces typing and visual noise.
2020-06-08 09:55:31 +02:00
..
assembly Added comment about static variables 2020-05-24 08:20:40 +02:00
auxiliary test: Fix warnings in rust_test_helpers.c 2020-05-06 23:54:05 +03:00
codegen Rollup merge of #72977 - tblah:riscv-codegen-llvm10, r=nikomatsakis 2020-06-07 18:11:29 +02:00
codegen-units Keep codegen units unmerged when building compiler builtins 2020-04-06 00:00:00 +00:00
compile-fail Add Option to Force Unwind Tables 2020-05-04 12:08:35 +01:00
debuginfo ret has been optimized away in debuginfo test 2020-05-16 17:15:24 -07:00
incremental Auto merge of #72520 - jonas-schievink:cleanup-userty, r=matthewjasper 2020-05-25 06:17:15 +00:00
mir-opt rename FalseEdges -> FalseEdge 2020-06-07 10:12:21 +02:00
pretty Add tests for asm! 2020-05-18 14:41:32 +01:00
run-make Use Cell::take in a couple places 2020-04-26 11:50:53 +02:00
run-make-fulldeps Rollup merge of #72952 - pnkfelix:regression-test-for-issue-70924, r=nikomatsakis 2020-06-07 18:11:27 +02:00
run-pass-valgrind
rustdoc Allow using Self:: in doc 2020-05-22 13:57:05 +02:00
rustdoc-js Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-js-std Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-ui Add rustdoc regression test for the unused_braces lint 2020-04-24 19:15:07 +02:00
rustfix
ui Rollup merge of #73001 - ilya-bobyr:master, r=dtolnay 2020-06-08 09:55:31 +02:00
ui-fulldeps Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrum 2020-06-06 09:00:51 +00:00
COMPILER_TESTS.md