rust/src/tools
bors d03fe84169 Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasper
Reintroduce hir::ExprKind::If

Basically copied and paste #59288/https://github.com/rust-lang/rust-clippy/pull/4080 with some modifications.

The vast majority of tests were fixed and now there are only a few remaining. Since I am still unable to figure out the missing pieces, any help with the following list is welcome.

- [ ] **Unnecessary `typeck` exception**: [Cheated on this one to make CI green.](https://github.com/rust-lang/rust/pull/79328/files#diff-3faee9ba23fc54a12b7c43364ba81f8c5660045c7e1d7989a02a0cee1c5b2051)
- [x] **Incorrect span**: [Span should reference `then` and `else` separately.](https://github.com/rust-lang/rust/pull/79328/files#diff-cf2c46e82222ee4b1037a68fff8a1af3c4f1de7a6b3fd798aacbf3c0475abe3d)
- [x] **New note regarding `assert!`**: [Modified but not "wrong". Maybe can be a good thing?](https://github.com/rust-lang/rust/pull/79328/files#diff-9e0d7c89ed0224e2b62060c957177c27db43c30dfe3c2974cb6b5091cda9cfb5)
- [x] **Inverted report location**: [Modified but not "wrong". Locations were inverted.](https://github.com/rust-lang/rust/pull/79328/files#diff-f637ce7c1f68d523a165aa9651765df05e36c4d7d279194b1a6b28b48a323691)
- [x] **`src/test/ui/point-to-type-err-cause-on-impl-trait-return.rs` has weird errors**: [Not sure why this is happening.](https://github.com/rust-lang/rust/pull/79328/files#diff-c823c09660f5b112f95e97e8ff71f1797b6c7f37dbb3d16f8e98bbaea8072e95)
- [x] **Missing diagnostic**: [???](https://github.com/rust-lang/rust/pull/79328/files#diff-6b8ab09360d725ba4513933827f9796b42ff9522b0690f80b76de067143af2fc)
2021-01-14 14:41:58 +00:00
..
build-manifest Utilize PGO for rustc linux dist builds 2020-12-22 12:23:37 -05:00
cargo@329895f5b5 Update cargo 2021-01-05 19:36:00 -08:00
cargotest Update xsv to prevent random CI failures 2020-12-07 12:51:28 -05:00
clippy Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasper 2021-01-14 14:41:58 +00:00
compiletest Merge remote-tracking branch 'origin/master' into frewsxcv-san 2020-12-31 23:27:33 -05:00
error_index_generator mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
expand-yaml-anchors expand-yaml-anchors: Make the output directory separator-insensitive 2020-12-14 23:33:20 +09:00
linkchecker Dogfood 'str_split_once() with linkchecker 2020-12-07 14:00:21 -07:00
lint-docs lint-docs: Warn on missing lint when documenting. 2020-12-26 13:48:09 -08:00
miri@a09f8b0c06 update Miri 2021-01-06 18:29:04 +01:00
remote-test-client Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
remote-test-server Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
rls@2cf84baa5e Bump Rustfmt to 1.4.29 2020-12-06 02:16:06 +01:00
rust-analyzer@0d03fe6ef5 ⬆️ rust-analyzer 2020-09-14 16:11:06 +02:00
rust-demangler Update rustc-demangle 2020-10-21 21:05:38 +01:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook 2021-01-04 07:18:37 -08:00
rustc-workspace-hack Add libz-sys to rustc-workspace-hack. 2020-12-23 12:18:15 -08:00
rustdoc Format the world 2019-12-22 17:42:47 -05:00
rustdoc-js Improve rustdoc JS tests error output 2020-11-26 21:59:45 +01:00
rustdoc-themes Format the world 2019-12-22 17:42:47 -05:00
rustfmt@acd94866fd update rustfmt to v1.4.30 2020-12-20 16:17:35 -06:00
tidy Reduce ROOT_ENTRY_LIMIT to 1500 2021-01-01 09:23:11 +09:00
tier-check Remove note about missing ios/tvos targets in platform docs. 2020-09-25 12:09:06 -07:00
unicode-table-generator unicode_table_generator: fix clippy::writeln_empty_string, clippy::useless_format, clippy:::for_kv_map 2020-08-24 00:43:50 +02:00
unstable-book-gen Replace write_fmt with write! 2020-09-20 10:35:23 +02:00
x Add installation commands to x tool README 2020-12-21 17:18:48 -08:00
publish_toolstate.py Ping me when nomicon's toolstate is broken 2020-12-05 12:05:03 +09:00