auto merge of #11185 : huonw/rust/doc-ignore, r=cmr
Currently any line starting with `#` is filtered from the output, including line like `#[deriving]`; this patch makes it so lines are only filtered when followed by a space similar to the current behaviour of the tutorial/manual tester.
This commit is contained in:
commit
a4f30bf0c0
6 changed files with 57 additions and 7 deletions
|
@ -173,6 +173,7 @@ impl Collector {
|
|||
let libs = self.libs.borrow();
|
||||
let libs = (*libs.get()).clone();
|
||||
let cratename = self.cratename.to_owned();
|
||||
debug!("Creating test {}: {}", name, test);
|
||||
self.tests.push(test::TestDescAndFn {
|
||||
desc: test::TestDesc {
|
||||
name: test::DynTestName(name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue