rust/compiler
Michael Howell bff1645bdb 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-22 19:47:58 -07:00
..
2021-11-15 18:33:43 +11:00
2021-11-15 10:14:29 +01:00
2021-11-07 16:59:05 +01:00