about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-30 22:51:39 +0200
committerGitHub <noreply@github.com>2024-07-30 22:51:39 +0200
commite6a82d287884615c2e411421fe8205ed2cf55a3a (patch)
treee99ca491f2cf3386fc47b74359814ca42ec0d465 /compiler/rustc_pattern_analysis/src
parent7ea1f7265f847c783414f59917c5725b05f007f2 (diff)
parent58bfd98bafef799b032d5facaeec888f990c071b (diff)
downloadrust-e6a82d287884615c2e411421fe8205ed2cf55a3a.tar.gz
rust-e6a82d287884615c2e411421fe8205ed2cf55a3a.zip
Rollup merge of #128380 - folkertdev:naked-compatible-doc-comment, r=bjorn3
make `///` doc comments compatible with naked functions

tracking issue: https://github.com/rust-lang/rust/issues/90957

reported in https://github.com/rust-lang/rust/pull/127853#issuecomment-2257323333

it turns out `/// doc comment` and `#[doc = "doc comment"]` are represented differently, at least at the point where we perform the check for what should be allowed. The `///` style doc comment is now also allowed.

r? ``@bjorn3``

cc ``@hsanzg``
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions