rust/compiler/rustc_passes/src
Matthias Krüger 07342828c5
Rollup merge of #89610 - guswynn:must_use_future, r=wesleywiser
warn on must_use use on async fn's

As referenced in #78149

This only works on `async` fn's for now, I can also look into if I can get `Box<dyn Future>` and `impl Future` working at this level (hir)
2021-11-17 15:57:56 +01:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Rollup merge of #89610 - guswynn:must_use_future, r=wesleywiser 2021-11-17 15:57:56 +01:00
check_const.rs more clippy fixes 2021-11-07 16:59:05 +01:00
dead.rs only check for automatically_derived on impls, not individual methods 2021-10-02 09:53:51 -04:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
entry.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
hir_id_validator.rs Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00
hir_stats.rs Rename walk_crate. 2021-09-02 19:23:11 +02:00
intrinsicck.rs make #[target_feature] work with asm register classes 2021-10-07 15:42:18 -04:00
lang_items.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
layout_test.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
lib.rs Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
lib_features.rs Stop using walk_crate. 2021-09-02 19:08:58 +02:00
liveness.rs Rollup merge of #88871 - FabianWolff:issue-88403, r=jackh726 2021-10-05 12:52:43 -07:00
loops.rs Do not suggest using a break label when one is already present 2021-01-21 21:43:29 -08:00
naked_functions.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
reachable.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
region.rs Rename functions reflect that inline const is also "typeck_child" 2021-11-07 04:00:34 +00:00
stability.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
upvars.rs
weak_lang_items.rs Practice diagnostic message convention 2021-10-03 16:16:28 +09:00