diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-18 11:29:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-18 11:29:39 -0400 |
| commit | df21a6f040a7011d509769a61ac7af9502636b33 (patch) | |
| tree | f689334b3263e364c5f76f6e3780cb7dafedbbcd /src/test/ui/thinlto | |
| parent | cc16d0486933e02237190366de2eb43df2215c11 (diff) | |
| parent | 3c119443767553d31c4c028a7c5519750897fc0a (diff) | |
| download | rust-df21a6f040a7011d509769a61ac7af9502636b33.tar.gz rust-df21a6f040a7011d509769a61ac7af9502636b33.zip | |
Rollup merge of #62696 - chocol4te:fix_#62194, r=estebank
Check that trait is exported or public before adding hint Closes #62194. This PR checks the `AccessLevels` of a trait to check whether adding the intercrate ambiguity hint is valid or not. I am unsure of both the use of `.unwrap()` as well as removing hints for [downstream *and* [upstream](https://github.com/rust-lang/rust/blob/92b0f52584c9375505ecdefdd7855b93a5919d51/src/librustc/traits/select.rs#L112-L142).
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
