]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106366 - GuillaumeGomez:fix-rustdoc-ice-typedef-type-mismatch, r...
authorMichael Goulet <michael@errs.io>
Mon, 2 Jan 2023 23:39:19 +0000 (15:39 -0800)
committerGitHub <noreply@github.com>
Mon, 2 Jan 2023 23:39:19 +0000 (15:39 -0800)
Fix rustdoc ICE on bad typedef with mismatching types

Fixes https://github.com/rust-lang/rust/issues/106226.
Fixes #105742.
Fixes #105737.
Fixes #105334.
Fixes #96287.

In this case, it's ok to replace the panic with `rustc_error::raise` because the compiler provided us with a `Error`.

r? `@notriddle`

1  2 
src/librustdoc/clean/mod.rs

Simple merge