rust/src/librustdoc
Kang Seonghoon c8a29c4c59 rustdoc: External module item links to the module contents. Fixes #12926.
the basic strategy is to distinguish `mod foo;` from `mod foo {...}`
by checking if the span for the module item and module contents is
in different files. if it's the case, we prefer module contents.

it is technically possible to fix #12926 without changing the AST,
probably by checking the individual items' span. this is not without
a problem though, since it is possible that some items inside
`mod foo {...}` may have originated from other file (e.g. `include!`).
therefore it is better to record both spans explicitly.
2014-04-27 19:54:31 +09:00
..
2014-04-25 18:04:59 +09:00
2014-04-04 09:31:44 -07:00
2014-04-18 17:25:34 -07:00
2014-04-18 17:25:34 -07:00
2014-04-18 17:25:34 -07:00