22aa16334c
Escape sequences in documentation comments must not be parsed as a normal string when expanding a macro, otherwise some innocent but invalid-escape-sequence-looking comments will trigger an ICE. Although this commit replaces normal string literals with raw string literals in macro expansion, this shouldn't be much a problem considering documentation comments are converted into attributes before being passed to a macro anyways. Fixes #25929. Fixes #25943. |
||
---|---|---|
.. | ||
diagnostics | ||
ext | ||
parse | ||
util | ||
abi.rs | ||
ast_util.rs | ||
ast.rs | ||
attr.rs | ||
codemap.rs | ||
config.rs | ||
diagnostic.rs | ||
feature_gate.rs | ||
fold.rs | ||
lib.rs | ||
owned_slice.rs | ||
ptr.rs | ||
show_span.rs | ||
std_inject.rs | ||
str.rs | ||
test.rs | ||
visit.rs |