]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #52635 - yodaldevoid:issue_18804, r=oli-obk
authorMark Rousskov <mark.simulacrum@gmail.com>
Thu, 26 Jul 2018 15:18:27 +0000 (09:18 -0600)
committerGitHub <noreply@github.com>
Thu, 26 Jul 2018 15:18:27 +0000 (09:18 -0600)
Fix #[linkage] propagation though generic functions

Fixes #18804

In the non-local branch of `get_static` (where the fix was implemented) `span_fatal` had to be replaced with `bug!` as we have no span in that case.


Trivial merge