Expand macro invocation test for attributes on items in the items { } block

This commit is contained in:
Tim Kuehn
2016-01-24 16:57:56 -08:00
parent ce12f4a981
commit 57e39c77f7

View File

@@ -355,6 +355,9 @@ mod test {
mod baz {
items {
use std::collections::HashMap;
#[derive(Debug)]
pub struct Debuggable;
}
service {
@@ -364,4 +367,9 @@ mod test {
}
}
}
#[test]
fn debug() {
println!("{:?}", baz::Debuggable);
}
}