rust/src/test
bors f9477a77c5 Auto merge of #62694 - lundibundi:help-infer-fn-ret, r=eddyb
rustc_typeck: improve diagnostics for -> _ fn return type

This should implement IIUC the mentioned issue.

~~I'm not sure if there is a better way than `get_infer_ret_ty` to get/check the return type without code duplication.~~

~~Also, is this unwrap be okay `ty::Binder::bind(*tables.liberated_fn_sigs().get(hir_id).unwrap())`?~~

r? @eddyb
Closes: https://github.com/rust-lang/rust/issues/56132
2019-07-19 04:04:17 +00:00
..
assembly Ignore NVPTX tests 2019-06-12 23:09:08 +02:00
auxiliary rustc_target: avoid negative register counts in the SysV x86_64 ABI. 2019-07-05 13:24:25 +03:00
codegen Auto merge of #62592 - nikic:actually-update-llvm, r=alexcrichton 2019-07-16 23:05:06 +00:00
codegen-units Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
compile-fail rustc_mir: follow FalseUnwind's real_target edge in qualify_consts. 2019-07-11 12:28:02 +03:00
debuginfo Fix CDB support tidy check line length failures. 2019-05-20 02:44:26 -07:00
incremental while_{let_}loops/change_{break,continue}: typeck_tables_of clean. 2019-07-06 06:43:58 +02:00
mir-opt Auto merge of #62331 - wesleywiser:fix_early_return_leak, r=matthewjasper 2019-07-14 05:25:08 +00:00
pretty pprust: Support macro macros 2019-07-15 12:42:07 +03:00
run-fail compiletest: Validate pass modes harder 2019-06-16 12:23:22 +03:00
run-make Make tests compatible with musl host 2019-05-10 16:12:47 +02:00
run-make-fulldeps Make pretty-expanded-hygiene a ui test 2019-07-16 21:23:29 +01:00
run-pass Auto merge of #62782 - Mark-Simulacrum:rollup-1hz5ya6, r=Mark-Simulacrum 2019-07-18 17:03:37 +00:00
run-pass-fulldeps Make newtype_index hygienic and use allow_internal_unstable 2019-07-13 10:25:57 +01:00
run-pass-valgrind Added ignore-sgx for appropriate tests 2019-05-16 14:29:12 -07:00
rustdoc Remove MacroKind::ProcMacroStub 2019-07-11 00:12:07 +03:00
rustdoc-js Auto merge of #59910 - Centril:rollup-yjv7b06, r=Centril 2019-04-12 11:46:01 +00:00
rustdoc-js-std
rustdoc-ui normalize use of backticks in compiler messages for librustc/lint 2019-07-17 22:49:48 +02:00
rustfix
ui Auto merge of #62694 - lundibundi:help-infer-fn-ret, r=eddyb 2019-07-19 04:04:17 +00:00
ui-fulldeps normalize use of backticks in compiler messages for librustc/lint 2019-07-17 22:49:48 +02:00
COMPILER_TESTS.md