rustdoc: Add path field to doc::moddoc
This commit is contained in:
parent
04a2887f87
commit
c54f53b9d9
@ -9,6 +9,7 @@ type cratedoc = ~{
|
||||
type moddoc = ~{
|
||||
id: ast_id,
|
||||
name: str,
|
||||
path: [str],
|
||||
brief: option<str>,
|
||||
desc: option<str>,
|
||||
mods: modlist,
|
||||
|
@ -40,6 +40,7 @@ fn moddoc_from_mod(
|
||||
~{
|
||||
id: id,
|
||||
name: name,
|
||||
path: [],
|
||||
brief: none,
|
||||
desc: none,
|
||||
mods: doc::modlist(
|
||||
|
@ -42,6 +42,7 @@ fn test_run_passes() {
|
||||
topmod: ~{
|
||||
id: 0,
|
||||
name: doc.topmod.name + "two",
|
||||
path: [],
|
||||
brief: none,
|
||||
desc: none,
|
||||
mods: doc::modlist([]),
|
||||
@ -57,6 +58,7 @@ fn test_run_passes() {
|
||||
topmod: ~{
|
||||
id: 0,
|
||||
name: doc.topmod.name + "three",
|
||||
path: [],
|
||||
brief: none,
|
||||
desc: none,
|
||||
mods: doc::modlist([]),
|
||||
|
Loading…
Reference in New Issue
Block a user