You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #146104 - fmease:rollup-xhh06pd, r=fmease
Rollup of 10 pull requests
Successful merges:
- #144066 (stabilize c-style varargs for sysv64, win64, efiapi, aapcs)
- #145783 (add span to struct pattern rest (..))
- #145961 (resolve: Avoid a regression from splitting prelude into two scopes)
- #145962 (Ensure we emit an allocator shim when only some crate types need one)
- #146064 (Add compiler error when trying to use concat metavar expr in repetitions)
- #146067 (alloc: make Cow From impls const)
- #146070 (rustdoc-search: skip loading unneeded fnData)
- #146089 (fix a constness ordering bug in rustfmt)
- #146094 (Make `Parser::parse_for_head` public for rustfmt usage)
- #146102 (Remove dead code stemming from an old effects desugaring)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardExpand all lines: compiler/rustc_ast_passes/messages.ftl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ ast_passes_auto_super_lifetime = auto traits cannot have super traits or lifetim
57
57
.label = {ast_passes_auto_super_lifetime}
58
58
.suggestion = remove the super traits or lifetime bounds
59
59
60
-
ast_passes_bad_c_variadic = only foreign, `unsafe extern "C"`, or `unsafe extern "C-unwind"` functions may have a C-variadic arg
60
+
ast_passes_bad_c_variadic = defining functions with C-variadic arguments is only allowed for free functions with the "C" or "C-unwind" calling convention
0 commit comments