Regression in doctest compile_fail detection with global_asm! #140412
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I expected to see this happen: This should pass
rustdoc --test
because the example generates an errorthe `in` operand cannot be used with `global_asm!`
Instead, this happened: This fails with
rustdoc --test
because the example is erroneously being treated as compiling successfully.This appears to be a regression due to #140220
cc @GuillaumeGomez
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: