diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-23 19:42:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 19:42:35 +0200 |
| commit | 8e206c0387d9b94bc3ae36594c8a97f645fddbd3 (patch) | |
| tree | 595eca69564afb3301cf95ce162af403c717c41f /compiler/rustc_errors/src/lib.rs | |
| parent | f1a29ee2263183d1016e622af640074274a81cd2 (diff) | |
| parent | 5824ab178b0b28c948798576de78625ba8209adc (diff) | |
| download | rust-8e206c0387d9b94bc3ae36594c8a97f645fddbd3.tar.gz rust-8e206c0387d9b94bc3ae36594c8a97f645fddbd3.zip | |
Rollup merge of #126994 - Alexendoo:explain-markdown, r=tgross35
Support lists and stylings in more places for `rustc --explain` Adds support for `*foo*`, stylings not immediately following whitespace e.g. ``(`Foo`)`` and lists starting with whitespace: ```md * previously supported ``` ```md * now also supported ``` These are fairly common in the existing error docs, some before/after examples: ### E0460   ### E0059  
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 2086d4030f9..2a850d9303c 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -15,6 +15,7 @@ #![feature(box_patterns)] #![feature(error_reporter)] #![feature(extract_if)] +#![feature(if_let_guard)] #![feature(let_chains)] #![feature(negative_impls)] #![feature(never_type)] |
