]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #61231 - pnkfelix:issue-59548-linkage-diagnostic, r=petrochenkov
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 30 May 2019 08:52:53 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 08:52:53 +0000 (10:52 +0200)
Fix linkage diagnostic so it doesn't ICE for external crates

Fix linkage diagnostic so it doesn't ICE for external crates

(As a drive-by improvement, improved the diagnostic to indicate *why* `*const T` or `*mut T` is required.)

Fix #59548
Fix #61232


Trivial merge