rust/src/librustc
Mazdak Farrokhzad 16f607f65a
Rollup merge of #70138 - RalfJung:throw-not-return, r=oli-obk
do not 'return' in 'throw_' macros

In https://github.com/rust-lang/rust/pull/69839 we turned a closure into a `try` block, but it turns out that does not work with our `throw_` macros, which `return` so they skip the `try`.

Here we fix that. For some reason that means we also have to remove some `;`.

r? @oli-obk
2020-03-21 08:51:21 +01:00
..
benches Drop cfg(bootstrap) code 2020-01-31 12:31:09 -05:00
dep_graph hir: replace "items" terminology with "nodes" where appropriate. 2020-03-19 14:36:04 +02:00
hir hir: replace "items" terminology with "nodes" where appropriate. 2020-03-19 14:36:04 +02:00
ich rustc: use LocalDefId instead of DefIndex in hir::map::definitions. 2020-03-19 11:16:08 +02:00
infer rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
middle remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
mir more type annotations to help inference 2020-03-20 23:28:01 +01:00
query rustc/query: tweak comments on hir_owner{,_nodes}. 2020-03-19 19:05:41 +02:00
traits Avoid ICEs when we emit errors constructing the specialization graph 2020-03-15 13:22:34 +00:00
ty Rollup merge of #70092 - eddyb:hir-items-are-just-nodes, r=Zoxc 2020-03-21 08:51:19 +01:00
util Refactorings to begin getting rid of rustc_codegen_utils 2020-03-19 23:14:46 -05:00
arena.rs hir: replace "items" terminology with "nodes" where appropriate. 2020-03-19 14:36:04 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Auto merge of #69482 - lqd:poloniusup, r=nikomatsakis 2020-03-03 13:27:52 +00:00
lib.rs Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
lint.rs remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
macros.rs Move macro enum_from_u32 to rustc_data_structures. 2020-02-11 23:03:53 +01:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
tests.rs librustc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00

For more information about how rustc works, see the rustc dev guide.