Files
rust/compiler
Jacob Pratt d43b667377 Rollup merge of #151457 - enthropy7:fix-assert-macro-only, r=enthropy7
Improve error message for assert!() macro in functions returning bool

Detect `assert!()` macro in error messages and provide clearer diagnostics

When `assert!()` is used in a function returning a value, show a message explaining that `assert!()` doesn't return a value, instead of the generic "if may be missing an else clause" error.

Fixes rust-lang/rust#151446
2026-01-22 00:37:44 -05:00
..
2026-01-21 20:03:56 -05:00
2026-01-12 08:07:23 +01:00
2026-01-21 20:03:56 -05:00
2026-01-21 20:03:56 -05:00
2026-01-21 20:03:56 -05:00
2026-01-21 20:03:56 -05:00
2026-01-21 20:03:56 -05:00
2026-01-21 20:03:56 -05:00
2026-01-21 12:14:51 +00:00
2026-01-19 16:08:54 +00:00