Files
rust/compiler/rustc_expand
Jonathan Brouwer ac05d382c9 Rollup merge of #159222 - joshtriplett:main, r=petrochenkov
semicolon_in_expressions_from_macros: Lint on non-local macros too

The `semicolon_in_expressions_from_macros` lint previously suppressed
warnings about non-local macros. This masks a lint that will
subsequently become a hard error.

Stop suppressing it, dropping the `is_local` flag and check.

Fix the test for this case to now expect the error. Drop a separate test
that depended on the lack of error (and that specifically notes it
should be dropped once the lint becomes a hard error).
2026-07-15 16:17:09 +02:00
..