Files
rust/src
Jonathan Brouwer ff169708bc Rollup merge of #160208 - GuillaumeGomez:opaque-ty, r=notriddle
rustdoc: Fix crash when trying to list attributes on an opaque type

Fixes https://github.com/rust-lang/rust/issues/160107.

It's crashing because we're using `get_attrs` on an `OpaqueTy` which cannot have attributes and therefore crashed. So instead, I check ahead of calling this function in the path where this can happen instead of doing it in `convert_render_type_id` on all `RenderTypeId::DefId`.

r? @notriddle
2026-07-31 16:02:37 +02:00
..
2026-07-25 05:26:07 -05:00
…
2026-07-10 22:32:16 +02:00
…
2026-07-13 18:04:39 -04:00
…

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.