diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-04-24 00:31:13 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-04-28 10:49:45 +0900 |
| commit | 9fc2595802d37326dc25fe524149023ed46b9730 (patch) | |
| tree | ff77183e7b2471435f3750ff42d82814baaee1d9 /src/test/incremental/thinlto | |
| parent | e05b78daa628ad88952d856c68cb5708434fa934 (diff) | |
| download | rust-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
