about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-03-16 01:30:24 +0100
committerGitHub <noreply@github.com>2020-03-16 01:30:24 +0100
commite5de0b13febfe9a9a3f0dc07489a7d19d5525e3b (patch)
tree22a31c8d13c99431db2a81b9d059608a8cbfdf67 /src/test/rustdoc-ui/coverage/json.rs
parent45ebd5808afd3df7ba842797c0fcd4447ddf30fb (diff)
parentc599ec4460f17c43f5df1d4df269f3811ece4bd7 (diff)
downloadrust-e5de0b13febfe9a9a3f0dc07489a7d19d5525e3b.tar.gz
rust-e5de0b13febfe9a9a3f0dc07489a7d19d5525e3b.zip
Rollup merge of #69686 - varkor:rustdoc-attributes, r=GuillaumeGomez
Use `pprust` to print attributes in rustdoc

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

I'm not sure what the original motivation was for the `render_attribute`, so I may be missing something, but replacing it with `pprust::attribute_to_string` seems to give the intended output (modulo some spacing idiosyncrasies).

r? @GuillaumeGomez
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions