diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-24 23:27:16 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-08-24 23:27:16 +0800 |
| commit | a1ec2f76bb409a03a1993bf40fa092cc937b0f5f (patch) | |
| tree | 0672767f14414707d887625ce6ef2f9f2883697d /src/test/incremental/thinlto | |
| parent | 62f29c4fb811da8ea2c2584d0d2c6bcf316b0a7a (diff) | |
| parent | 85a05d1815217584c096ebc9d64b3a547b667f48 (diff) | |
| download | rust-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
