Auto merge of #55382 - kennytm:rollup, r=kennytm
Rollup of 21 pull requests Successful merges: - #54816 (Don't try to promote already promoted out temporaries) - #54824 (Cleanup rustdoc tests with `@!has` and `@!matches`) - #54921 (Add line numbers option to rustdoc) - #55167 (Add a "cheap" mode for `compute_missing_ctors`.) - #55258 (Fix Rustdoc ICE when checking blanket impls) - #55264 (Compile the libstd we distribute with -Ccodegen-unit=1) - #55271 (Unimplement ExactSizeIterator for MIR traversing iterators) - #55292 (Macro diagnostics tweaks) - #55298 (Point at macro definition when no rules expect token) - #55301 (List allowed tokens after macro fragments) - #55302 (Extend the impl_stable_hash_for! macro for miri.) - #55325 (Fix link to macros chapter) - #55343 (rustbuild: fix remap-debuginfo when building a release) - #55346 (Shrink `Statement`.) - #55358 (Remove redundant clone (2)) - #55370 (Update mailmap for estebank) - #55375 (Typo fixes in configure_cmake comments) - #55378 (rustbuild: use configured linker to build boostrap) - #55379 (validity: assert that unions are non-empty) - #55383 (Use `SmallVec` for the queue in `coerce_unsized`.) - #55391 (bootstrap: clean up a few clippy findings)
This commit is contained in:
commit
3e6f30ec3e
113 changed files with 1170 additions and 497 deletions
|
|
@ -3,12 +3,11 @@ error: macro expansion ignores token `;` and any following
|
|||
|
|
||||
LL | () => ( String ; ); //~ ERROR macro expansion ignores token `;`
|
||||
| ^
|
||||
|
|
||||
note: caused by the macro expansion here; the usage of `t!` is likely invalid in type context
|
||||
--> $DIR/issue-30007.rs:16:16
|
||||
|
|
||||
...
|
||||
LL | let i: Vec<t!()>;
|
||||
| ^^^^
|
||||
| ---- caused by the macro expansion here
|
||||
|
|
||||
= note: the usage of `t!` is likely invalid in type context
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
error: unexpected end of macro invocation
|
||||
--> $DIR/issue-7970a.rs:16:5
|
||||
|
|
||||
LL | macro_rules! one_arg_macro {
|
||||
| -------------------------- when calling this macro
|
||||
...
|
||||
LL | one_arg_macro!();
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
| ^^^^^^^^^^^^^^^^^ unexpected end of macro invocation
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue