about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-04 09:26:59 +0900
committerGitHub <noreply@github.com>2020-08-04 09:26:59 +0900
commit262fce481dc60c348ba0436caabd4a824ecc412e (patch)
tree448be73655124de7ea6b76351c2810575895a5e4 /src/test/rustdoc-ui/coverage/doc-examples.rs
parentcc0ac7eecebd57278974329d3610bb2512740ef8 (diff)
parent05f414b72a26b285c7a7f6c9632945ab567a9757 (diff)
downloadrust-262fce481dc60c348ba0436caabd4a824ecc412e.tar.gz
rust-262fce481dc60c348ba0436caabd4a824ecc412e.zip
Rollup merge of #75043 - petrochenkov:hasname, r=nnethercote
rustc_ast: `(Nested)MetaItem::check_name` -> `has_name`

For consistency with `Attribute::has_name` which doesn't mark the attribute as used either.

Replace all uses of `check_name` with `has_name` outside of rustc, only rustc needs to mark attributes as used.

cc https://github.com/rust-lang/rust/pull/74932
r? @nnethercote
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions