about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-28 13:30:44 +0200
committerGitHub <noreply@github.com>2025-04-28 13:30:44 +0200
commita782b54e015e0a82d0ecd7506f8b8a3f35673949 (patch)
treeed16e3f66dfd9085f35214ce05760da13c307f8b /compiler/rustc_codegen_llvm/src
parent1a766a87722d840d8354eaecf51b47260bc274fd (diff)
parentaa69e3a0cb8f1b2e086709a038baad6f39249150 (diff)
downloadrust-a782b54e015e0a82d0ecd7506f8b8a3f35673949.tar.gz
rust-a782b54e015e0a82d0ecd7506f8b8a3f35673949.zip
Rollup merge of #140220 - GuillaumeGomez:doctest-main-wrapping, r=fmease
Fix detection of main function if there are expressions around it

Fixes #140162.
Fixes #139651.

Once this is merged, we can backport and I'll send a follow-up to emit a warning in case a `main` function is about to be "wrapped" (and therefore not run).

r? `@fmease`

try-job: x86_64-mingw-1
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions