rust/src/librustdoc
bors 222d1ff68d Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov
Harden the pre-tyctxt query system against accidental recomputation

While the current compiler has no issues where we `take` and then compute the query again, in https://github.com/rust-lang/rust/pull/105462 I accidentally introduced such a case.

I also took the opportunity to remove `peek_mut`, which is only ever used for `global_tcx` to then invoke `enter`. I added an `enter` method directly on the query.
2023-01-12 13:59:30 +00:00
..
clean Remove unneeded ItemId::Primitive variant 2023-01-10 18:30:37 +01:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats Remove unneeded ItemId::Primitive variant 2023-01-10 18:30:37 +01:00
html Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
json Remove unneeded ItemId::Primitive variant 2023-01-10 18:30:37 +01:00
passes Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco 2023-01-11 17:30:54 +01:00
theme Correctly handle parens 2022-09-15 13:53:20 +02:00
askama.toml Move back templates into html folder 2022-01-19 11:13:24 +01:00
Cargo.toml update cpufeatures, swap difference to dissimilar 2022-11-29 19:59:37 +03:00
config.rs Revert crate_types change, add new bin_crate field 2022-12-07 09:08:43 -08:00
core.rs Revert crate_types change, add new bin_crate field 2022-12-07 09:08:43 -08:00
docfs.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
doctest.rs Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
fold.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
lib.rs Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
lint.rs Change default lint level of INVALID_HTML_TAGS to warning 2022-10-10 18:28:29 +02:00
markdown.rs rustdoc: remove `type="text/css" from stylesheet links 2022-12-12 15:17:49 -07: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 Revert crate_types change, add new bin_crate field 2022-12-07 09:08:43 -08:00
theme.rs Correctly handle parens 2022-09-15 13:53:20 +02:00
visit.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
visit_ast.rs fix dupe word typos 2023-01-03 15:48:16 +08:00
visit_lib.rs rustdoc: Split effective visibilities from rustc from similar data built by rustdoc for external def-ids 2022-10-29 23:36:52 +04:00

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