rust/src/librustc_session
Dylan DPC 0959802a57
Rollup merge of #71408 - GuillaumeGomez:check-code-blocks-tags, r=kinnison
Check code blocks tags

Fixes #71347.

Explanations here: I realized recently that it was a common issue to confuse/misspell tags on code blocks. This is actually quite a big issue since it generally ends up in a code blocks being ignored since it's not being considered as a rust one. With this new warning, users will at least be notified about it.

PS: some improvements can be done on the error rendering but considering how big the PR already is, I think it's better to do it afterwards.

r? @ollie27

cc @rust-lang/rustdoc
2020-04-23 20:35:01 +02:00
..
lint Create new rustdoc lint to check for code blocks tags 2020-04-23 14:30:30 +02:00
Cargo.toml Depend on getopts from crates.io 2020-04-11 17:49:16 -04:00
cgu_reuse_tracker.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
code_stats.rs Don't redundantly repeat field names (clippy::redundant_field_names) 2020-03-06 19:42:18 +01:00
config.rs Add a new option -Cbitcode-in-rlib. 2020-04-22 15:22:18 +10:00
filesearch.rs Speed up path searching with find_library_crate. 2020-04-07 09:21:15 +10:00
lib.rs Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
lint.rs Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
options.rs Alphabetize the -C and -Z options. 2020-04-22 22:44:37 +10:00
output.rs Refactorings to begin getting rid of rustc_codegen_utils 2020-03-19 23:14:46 -05:00
parse.rs Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
search_paths.rs Speed up path searching with find_library_crate. 2020-04-07 09:21:15 +10:00
session.rs Replace uses of parse_opt_* with parse_* where possible. 2020-04-19 19:53:54 +10:00
utils.rs Change -Z time event naming scheme and make them generic activities 2020-01-09 07:06:40 +01:00