rust/src/librustdoc
Matthias Krüger 8e271d70a2
Rollup merge of #123375 - fmease:rustdoc-sati-re-hotfix, r=GuillaumeGomez
rustdoc: synthetic auto trait impls: accept unresolved region vars for now

https://github.com/rust-lang/rust/pull/123348#issuecomment-2032494255:

> Right, [in #123340] I've intentionally changed a `vid_map.get(vid).unwrap_or(r)` to a `vid_map[vid]` making rustdoc panic if `rustc::AutoTraitFinder` returns a region inference variable that cannot be resolved because that is really fishy.  I can change it back with a `FIXME: investigate` […]. [O]nce I [fully] understand [the arcane] `rustc::AutoTraitFinder` [I] can fix the underlying issue if there's one.
>
> `rustc::AutoTraitFinder` can also return placeholder regions `RePlaceholder` which doesn't seem right either and which makes rustdoc ICE, too (we have a GitHub issue for that already[, namely #120606]).

Fixes #123370.
Fixes #112242.

r? ``@GuillaumeGomez``
2024-04-02 21:22:04 +02:00
..
clean rustdoc: synthetic auto trait impls: accept unresolved region vars for now 2024-04-02 18:59:17 +02:00
doctest add extra indent spaces for rust-playground link 2024-02-15 18:57:21 +08:00
formats Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
html Rollup merge of #122614 - notriddle:notriddle/search-desc, r=GuillaumeGomez 2024-04-02 18:18:50 +02:00
json rustdoc: cross-crate re-exports: correctly render late-bound params in source order even if early-bound params are present 2024-02-15 01:40:38 +01:00
passes Correctly get complete intra-doc link data 2024-03-28 11:08:50 +01: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 Rollup merge of #122614 - notriddle:notriddle/search-desc, r=GuillaumeGomez 2024-04-02 18:18:50 +02:00
config.rs Make sysroot mandatory for rustdoc 2024-03-25 22:19:41 +00:00
core.rs Remove DefId's Partial/Ord impls 2024-03-27 14:02:17 +00:00
docfs.rs remove redundant imports 2023-12-10 10:56:22 +08:00
doctest.rs Move --sysroot argument out of the argument file to fix miri issue 2024-03-25 12:06:47 +01:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
fold.rs rustdoc: bind typedef inner type items to the folding system 2023-08-26 00:15:02 +02:00
lib.rs rustdoc --test: Prevent reaching the maximum size of command-line by using files for arguments if there are too many 2024-03-23 14:42:48 +01:00
lint.rs fix some typos found scrolling through the docs 2023-12-22 18:28:19 -05:00
markdown.rs rustdoc --test: Prevent reaching the maximum size of command-line by using files for arguments if there are too many 2024-03-23 14:42:48 +01: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 rustdoc: remove unchecked_claim_error_was_emitted call in main_args. 2024-02-07 18:57:46 +11:00
theme.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
visit.rs rustdoc: Rename clean items from typedef to type alias 2023-08-21 13:56:22 -07:00
visit_ast.rs Rename Session::span_diagnostic as Session::dcx. 2023-12-18 16:06:21 +11: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.