about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorShotaro Yamada <sinkuu@sinkuu.xyz>2018-04-24 00:31:13 +0900
committerShotaro Yamada <sinkuu@sinkuu.xyz>2018-04-28 10:49:45 +0900
commit9fc2595802d37326dc25fe524149023ed46b9730 (patch)
treeff77183e7b2471435f3750ff42d82814baaee1d9 /src/test/incremental/thinlto
parente05b78daa628ad88952d856c68cb5708434fa934 (diff)
downloadrust-9fc2595802d37326dc25fe524149023ed46b9730.tar.gz
rust-9fc2595802d37326dc25fe524149023ed46b9730.zip
Make `trait_of_item` return None for non associated items
It have returned `Some` for constants in a trait definition,
and `Instance::resolve` called `tcx.associated_item` for them,
causing ICE.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions