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 #108473 - matthiaskrgr:rollup-qjyae58, r=matthiaskrgr
Rollup of 8 pull requests
Successful merges:
- #107062 (Do some cleanup of doc/index.md)
- #107890 (Lint against `Iterator::map` receiving a callable that returns `()`)
- #108431 (Add regression test for #107918)
- #108432 (test: drop unused deps)
- #108436 (make "proc macro panicked" translatable)
- #108444 (docs/test: add UI test and docs for `E0476`)
- #108449 (Do not lint ineffective unstable trait impl for unresolved trait)
- #108456 (Complete migrating `ast_passes` to derive diagnostics)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
.existing = `extern` blocks define existing foreign {$kind}s and {$kind}s inside of them cannot have a body
103
+
104
+
ast_passes_fn_body_extern = incorrect function inside `extern` block
105
+
.cannot_have = cannot have a body
106
+
.suggestion = remove the invalid body
107
+
.help = you might have meant to write a function accessible through FFI, which can be done by writing `extern fn` outside of the `extern` block
108
+
.label = `extern` blocks define existing foreign functions and functions inside of them cannot have a body
109
+
110
+
ast_passes_extern_fn_qualifiers = functions in `extern` blocks cannot have qualifiers
111
+
.label = in this `extern` block
112
+
.suggestion = remove the qualifiers
113
+
114
+
ast_passes_extern_item_ascii = items in `extern` blocks cannot use non-ascii identifiers
115
+
.label = in this `extern` block
116
+
.note = this limitation may be lifted in the future; see issue #83942 <https://github.com/rust-lang/rust/issues/83942> for more information
117
+
118
+
ast_passes_bad_c_variadic = only foreign or `unsafe extern "C"` functions may be C-variadic
119
+
120
+
ast_passes_item_underscore = `{$kind}` items in this context need a name
121
+
.label = `_` is not a valid name for this `{$kind}` item
0 commit comments