Revert "rust: xfail-fast run-pass/cci_no_inline_exe"
This reverts commit 95099cddcf
.
This commit is contained in:
parent
09f191f3a7
commit
78bfdb11c8
5 changed files with 2 additions and 32 deletions
|
@ -122,12 +122,14 @@ Fields:
|
||||||
|
|
||||||
* kind - The type of thing being indexed, e.g. 'Module'
|
* kind - The type of thing being indexed, e.g. 'Module'
|
||||||
* name - The name of the thing
|
* name - The name of the thing
|
||||||
|
* brief - A description
|
||||||
* link - A format-specific string representing the link target
|
* link - A format-specific string representing the link target
|
||||||
|
|
||||||
"]
|
"]
|
||||||
type index_entry = {
|
type index_entry = {
|
||||||
kind: str,
|
kind: str,
|
||||||
name: str,
|
name: str,
|
||||||
|
brief: str,
|
||||||
link: str
|
link: str
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
#[doc = "Build indexes as appropriate for the markdown pass"];
|
|
||||||
|
|
||||||
export mk_pass;
|
|
||||||
|
|
||||||
fn mk_pass() -> pass {
|
|
||||||
{
|
|
||||||
name: "markdown_index",
|
|
||||||
f: run
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn run(_srv: astsrv::srv, doc: doc::cratedoc) -> doc::cratedoc {
|
|
||||||
doc
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn should_index_mod_contents() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod test {
|
|
||||||
fn mk_doc(source: str) -> doc::cratedoc {
|
|
||||||
astsrv::from_str(source) {|srv|
|
|
||||||
let doc = extract::from_srv(srv, "");
|
|
||||||
run(srv, doc);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -17,7 +17,6 @@ mod parse;
|
||||||
mod extract;
|
mod extract;
|
||||||
mod attr_parser;
|
mod attr_parser;
|
||||||
mod doc;
|
mod doc;
|
||||||
mod markdown_index_pass;
|
|
||||||
mod markdown_pass;
|
mod markdown_pass;
|
||||||
mod markdown_writer;
|
mod markdown_writer;
|
||||||
mod fold;
|
mod fold;
|
||||||
|
|
|
@ -147,7 +147,6 @@ fn run(config: config::config) {
|
||||||
unindent_pass::mk_pass(),
|
unindent_pass::mk_pass(),
|
||||||
sort_item_name_pass::mk_pass(),
|
sort_item_name_pass::mk_pass(),
|
||||||
sort_item_type_pass::mk_pass(),
|
sort_item_type_pass::mk_pass(),
|
||||||
markdown_index_pass::mk_pass(),
|
|
||||||
markdown_pass::mk_pass(config)
|
markdown_pass::mk_pass(config)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// xfail-fast - check-fast doesn't understand aux-build
|
|
||||||
// aux-build:cci_no_inline_lib.rs
|
// aux-build:cci_no_inline_lib.rs
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
|
Loading…
Reference in a new issue