rust/compiler
Alexis Bourget 690cbb79b3 Better message for invalid keyword placement in fn
After this commit, `unsafe async fn ...` now suggests the `async unsafe` fix
instead of misunderstanding the issue.

This is not perfect for repeated keywords (`const async const`) and for
keywords that are misplaced after `extern "some abi"` because of the way
`check_fn_font_matter` works, but changing it breaks so many tests and
diagnostics it has been judged too high a cost for this PR.
2021-08-02 11:10:19 +02:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Add warning when whitespace is not skipped after an escaped newline. 2021-07-30 16:26:39 +02:00
rustc_ast_lowering Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
rustc_ast_passes Rollup merge of #87501 - spastorino:remove-min-tait, r=oli-obk 2021-07-28 18:28:19 +09:00
rustc_ast_pretty
rustc_attr
rustc_builtin_macros Add new const_format_args!() macro and use it in panics. 2021-07-28 16:12:25 +02:00
rustc_codegen_cranelift
rustc_codegen_llvm
rustc_codegen_ssa
rustc_data_structures Use type_alias_impl_trait instead of min in compiler and lib 2021-07-27 12:27:08 -03:00
rustc_driver Rollup merge of #87553 - bjorn3:fix_hotplug_codegen_version, r=wesleywiser 2021-07-30 16:26:54 +09:00
rustc_error_codes Update error code description 2021-07-30 00:33:30 +02:00
rustc_errors Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
rustc_expand Only emit lint for local macros 2021-07-27 14:18:46 -05:00
rustc_feature Add feature gate tests. 2021-07-31 00:51:38 +08:00
rustc_fs_util
rustc_graphviz
rustc_hir Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
rustc_hir_pretty Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
rustc_incremental
rustc_index
rustc_infer
rustc_interface Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_lexer Add warning when whitespace is not skipped after an escaped newline. 2021-07-30 16:26:39 +02:00
rustc_lint Apply review suggestion 2021-07-31 06:21:52 +09:00
rustc_lint_defs Make SEMICOLON_IN_EXPRESSIONS_FROM_MACROS warn by default 2021-07-27 14:17:37 -05:00
rustc_llvm Rollup merge of #86072 - MarcusCalhoun-Lopez:llvm_cross, r=nagisa 2021-07-31 04:09:19 +09:00
rustc_macros
rustc_metadata Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
rustc_middle Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
rustc_mir Auto merge of #86754 - estebank:use-multispans-more, r=varkor 2021-07-30 23:18:12 +00:00
rustc_mir_build Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
rustc_parse Better message for invalid keyword placement in fn 2021-08-02 11:10:19 +02:00
rustc_parse_format
rustc_passes Add feature gates for for and ? in consts 2021-07-29 23:21:54 +02:00
rustc_plugin_impl
rustc_privacy Actually infer args in visitors 2021-07-26 21:15:18 +00:00
rustc_query_impl Create QuerySideEffects and use it for diagnostics 2021-07-25 20:27:58 -05:00
rustc_query_system Restrict field visibility 2021-07-25 20:43:27 -05:00
rustc_resolve Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_save_analysis Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
rustc_serialize
rustc_session Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
rustc_span Added feature gate. 2021-07-31 00:51:38 +08:00
rustc_symbol_mangling Implement Printer for &mut SymbolMangler 2021-07-29 13:30:40 +02:00
rustc_target freebsd remove compiler workaround. 2021-07-25 17:38:44 +01:00
rustc_trait_selection Auto merge of #86264 - crlf0710:trait_upcasting_part1, r=nikomatsakis 2021-07-31 07:46:14 +00:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Auto merge of #86264 - crlf0710:trait_upcasting_part1, r=nikomatsakis 2021-07-31 07:46:14 +00:00