1
Fork 0

rustdoc: Don't crash on crate references in blocks

This is a regression from #94857.
This commit is contained in:
Adrian Heine 2023-03-10 16:09:30 +01:00
parent d5833423a0
commit c84c5e6439
3 changed files with 7 additions and 10 deletions

View file

@ -0,0 +1,5 @@
// check-pass
fn main() {
/// [](crate)
struct X;
}