rust/src/librustdoc
bors 6d674af861 Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser
Stop telling people to submit bugs for internal feature ICEs

This keeps track of usage of internal features, and changes the message to instead tell them that using internal features is not supported.

I thought about several ways to do this but now used the explicit threading of an `Arc<AtomicBool>` through `Session`. This is not exactly incremental-safe, but this is fine, as this is set during macro expansion, which is pre-incremental, and also only affects the output of ICEs, at which point incremental correctness doesn't matter much anyways.

See [MCP 620.](https://github.com/rust-lang/compiler-team/issues/596)

![image](https://github.com/rust-lang/rust/assets/48135649/be661f05-b78a-40a9-b01d-81ad2dbdb690)
2023-10-26 02:08:07 +00:00
..
clean Remove FIXME after fix 2023-10-23 06:52:29 -07:00
doctest pass unused_extern_crates in librustdoc::doctest::make_test 2023-04-25 17:20:58 +03:00
formats s/Generator/Coroutine/ 2023-10-20 21:10:38 +00:00
html Rollup merge of #105666 - notriddle:notriddle/stab-baseline, r=GuillaumeGomez 2023-10-23 08:12:39 +02:00
json rustdoc: wrap Type with Box instead of Generics 2023-10-22 22:50:25 -07:00
passes s/Generator/Coroutine/ 2023-10-20 21:10:38 +00:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml Update minifier version to 0.2.3 2023-10-14 00:17:27 +02:00
config.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
core.rs Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
docfs.rs Use more named format args 2023-08-16 16:35:23 +02:00
doctest.rs Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Don't emit an error if the custom_code_classes_in_docs feature is disabled when its syntax is used. 2023-09-17 15:11:44 +02:00
fold.rs rustdoc: bind typedef inner type items to the folding system 2023-08-26 00:15:02 +02:00
lib.rs Stop telling people to submit bugs for internal feature ICEs 2023-10-25 23:23:04 +02:00
lint.rs Add warn level lint redundant_explicit_links 2023-08-18 15:19:08 +08:00
markdown.rs Update src/librustdoc/markdown.rs 2023-09-17 18:43:54 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Use relative positions inside a SourceFile. 2023-09-03 12:56:10 +00:00
theme.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
visit.rs rustdoc: Rename clean items from typedef to type alias 2023-08-21 13:56:22 -07:00
visit_ast.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
visit_lib.rs Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00

For more information about how librustdoc works, see the rustc dev guide.