about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-24 23:27:16 +0800
committerkennytm <kennytm@gmail.com>2018-08-24 23:27:16 +0800
commita1ec2f76bb409a03a1993bf40fa092cc937b0f5f (patch)
tree0672767f14414707d887625ce6ef2f9f2883697d /src/test/incremental/thinlto
parent62f29c4fb811da8ea2c2584d0d2c6bcf316b0a7a (diff)
parent85a05d1815217584c096ebc9d64b3a547b667f48 (diff)
downloadrust-a1ec2f76bb409a03a1993bf40fa092cc937b0f5f.tar.gz
rust-a1ec2f76bb409a03a1993bf40fa092cc937b0f5f.zip
Rollup merge of #53545 - FelixMcFelix:fix-50865-beta, r=petrochenkov
Fix #50865: ICE on impl-trait returning functions reaching private items

Adds a test case as suggested in #50865, and implements @petrochenkov's suggestion. Fixes #50865.

Impl-trait-returning functions are marked under a new (low) access level, which they propagate rather than `AccessLevels::Reachable`. `AccessLevels::is_reachable` returns false for such items (leaving stability analysis unaffected), these items may still be visible to the lints phase however.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions