mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
This commit is contained in:
parent
21832453d9
commit
17506726cb
36 changed files with 280 additions and 271 deletions
|
|
@ -76,7 +76,7 @@ pub(crate) fn write_quote_to (out: &mut TokenStream2, quote: TokenStream2) {
|
|||
assert_eq!(x.output, output);
|
||||
|
||||
// TODO
|
||||
let x: crate::proc_view::ViewImpl = pq! {
|
||||
let _x: crate::proc_view::ViewImpl = pq! {
|
||||
impl Foo {
|
||||
/// docstring1
|
||||
#[tengri::view(":view1")] #[bar] fn a_view () {}
|
||||
|
|
@ -86,7 +86,7 @@ pub(crate) fn write_quote_to (out: &mut TokenStream2, quote: TokenStream2) {
|
|||
#[baz] fn is_not_view () {}
|
||||
}
|
||||
};
|
||||
let expected_target: Ident = pq! { Foo };
|
||||
let _expected_target: Ident = pq! { Foo };
|
||||
//assert_eq!(x.target, expected_target);
|
||||
//assert_eq!(x.items.len(), 2);
|
||||
//assert_eq!(x.items[0].item, pq! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue