flesh out the guest type traits a bit further

This commit is contained in:
Pat Hickey
2020-01-22 16:38:25 -08:00
parent b8feffe6e1
commit aa5c5f7018
5 changed files with 126 additions and 77 deletions

View File

@@ -41,6 +41,7 @@ impl Names {
}
}
#[allow(unused)]
pub fn type_ref(&self, tref: &TypeRef) -> TokenStream {
match tref {
TypeRef::Name(nt) => {