Add missing imports

parent 9b0547bf
use crate::hir::FnSig;
use proc_macro2::TokenStream;
use quote::quote;
pub trait FnSigExt {
fn signal_definition(&self) -> TokenStream;
......
......@@ -2,7 +2,7 @@ use super::boilerplate;
use super::SlotExt;
use crate::gen::boilerplateext::BoilerplateExt;
use proc_macro2::TokenStream;
use quote::ToTokens;
use quote::{ToTokens, quote};
use std::marker::PhantomData;
/// This class can generate the public part of the boilerplate code for objects
......
......@@ -3,7 +3,7 @@ use crate::gen::signals;
use crate::hir::names::Names;
use crate::hir::{FnSig, Method, Signal, Slot, VirtualMethod};
use proc_macro2::TokenStream;
use quote::ToTokens;
use quote::{ToTokens, quote};
pub trait SlotExt {
fn trait_definition(&self) -> TokenStream;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment