Rollup merge of #110983 - GuillaumeGomez:foreign-repr, r=notriddle
rustdoc: Get `repr` information through `AdtDef` for foreign items As suggested by `@notriddle,` this approach works too. The only downside is that the display of the original attribute isn't kept, but I think it's an acceptable downside. r? `@notriddle`
This commit is contained in:
commit
549b3a13a1
8 changed files with 136 additions and 54 deletions
|
@ -34,6 +34,7 @@ extern crate tracing;
|
|||
// Dependencies listed in Cargo.toml do not need `extern crate`.
|
||||
|
||||
extern crate pulldown_cmark;
|
||||
extern crate rustc_abi;
|
||||
extern crate rustc_ast;
|
||||
extern crate rustc_ast_pretty;
|
||||
extern crate rustc_attr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue