]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #104799 - pcc:linkage-fn, r=tmiasko
authorbors <bors@rust-lang.org>
Wed, 7 Dec 2022 10:24:59 +0000 (10:24 +0000)
committerbors <bors@rust-lang.org>
Wed, 7 Dec 2022 10:24:59 +0000 (10:24 +0000)
Support Option and similar enums as type of static variable with linkage attribute

Compiler MCP:
rust-lang/compiler-team#565

1  2 
compiler/rustc_error_messages/locales/en-US/hir_analysis.ftl
compiler/rustc_hir_analysis/src/errors.rs