rust/compiler/rustc_parse/src
bors de4b242e1e Auto merge of #91149 - notriddle:notriddle/rustdoc-doctest-semicolon, r=jyn514
fix(doctest): detect extern crate items in statement doctests

This partially reverts #91026, because rustdoc needs to detect the extern statements, even when they appear inside implicit `main()`. It does not entirely revert it, so the old bug is still fixed, by duplicating some of the logic from `parse_mod` instead of trying to use it directly.

Fixes #91134
2021-11-23 23:48:55 +00:00
..
lexer Inline printable function 2021-11-16 08:06:31 +00:00
parser Auto merge of #91149 - notriddle:notriddle/rustdoc-doctest-semicolon, r=jyn514 2021-11-23 23:48:55 +00:00
lib.rs Remove now unused feature from rustc_parse 2021-11-04 23:40:59 +01:00
validate_attr.rs rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00