about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-08-04 14:18:11 +0100
committerDavid Wood <david@davidtw.co>2020-08-16 15:42:27 +0100
commit664ecf1085b1bab9d7444eb54dccfeeabd99446e (patch)
tree4a33b6b24a72023cb8b733f99c92ccd39d10148a /src/test/rustdoc-ui/coverage/json.rs
parent1e2f350d921e73d7165fe9d7a5f0f6cfe613e3df (diff)
downloadrust-664ecf1085b1bab9d7444eb54dccfeeabd99446e.tar.gz
rust-664ecf1085b1bab9d7444eb54dccfeeabd99446e.zip
hir: simplify `is_range_literal`
This commit simplifies `is_range_literal` by checking for
`QPath::LangItem` containing range-related lang items, rather than using
a heuristic.

Co-authored-by: Matthew Jasper <mjjasper1@gmail.com>
Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions