Revert "rust: xfail-fast run-pass/cci_no_inline_exe"
This reverts commit 95099cddcf2691fcbb389db657c70cf80d776918.
This commit is contained in:
parent
09f191f3a7
commit
78bfdb11c8
@ -122,12 +122,14 @@ Fields:
|
||||
|
||||
* kind - The type of thing being indexed, e.g. 'Module'
|
||||
* name - The name of the thing
|
||||
* brief - A description
|
||||
* link - A format-specific string representing the link target
|
||||
|
||||
"]
|
||||
type index_entry = {
|
||||
kind: str,
|
||||
name: str,
|
||||
brief: 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 attr_parser;
|
||||
mod doc;
|
||||
mod markdown_index_pass;
|
||||
mod markdown_pass;
|
||||
mod markdown_writer;
|
||||
mod fold;
|
||||
|
@ -147,7 +147,6 @@ fn run(config: config::config) {
|
||||
unindent_pass::mk_pass(),
|
||||
sort_item_name_pass::mk_pass(),
|
||||
sort_item_type_pass::mk_pass(),
|
||||
markdown_index_pass::mk_pass(),
|
||||
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
|
||||
|
||||
use std;
|
||||
|
Loading…
x
Reference in New Issue
Block a user