mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-30 16:18:56 +01:00
Expand macro invocation test for attributes on items in the items { } block
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user