]> git.lizzy.rs Git - rust.git/commit
add `is_trait(DefId)` helper to `TyCtxt`
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 2 Jul 2018 14:34:19 +0000 (10:34 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Mon, 2 Jul 2018 14:38:37 +0000 (10:38 -0400)
commit327093007add511cdcca4032dda13f7a342f29ea
tree2520a59f8aac4e179a45d44bdb9e8570f6f03954
parent7bbbed9046d2c744e4b7717ad72ae38a1c24f38d
add `is_trait(DefId)` helper to `TyCtxt`

Co-authored-by: Tyler Mandry <tmandry@gmail.com>
src/librustc/ty/util.rs