rust/compiler
bors 4e282795d7 Auto merge of #87662 - FabianWolff:rb-string, r=estebank
Suggest `br` if the unknown string prefix `rb` is found

Currently, for the following code:
```rust
fn main() {
    rb"abc";
}
```
we issue the following suggestion:
```
help: consider inserting whitespace here
  |
2 |     rb "abc";
  |       --
```
With my changes (only in edition 2021, where unknown prefixes became an error), I get:
```
help: use `br` for a raw byte string
  |
2 |     br"abc";
  |     ^^
```
2021-07-31 20:20:18 +00: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
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
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
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 Auto merge of #87662 - FabianWolff:rb-string, r=estebank 2021-07-31 20:20:18 +00: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
rustc_query_impl
rustc_query_system
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
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