blob: 3abd39a4ec45beb1d3393f67cae57b6bfa4e5c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//! Dummy implementations that we emit along with an error.
use proc_macro2::Ident;
use proc_macro_error::append_dummy;
use quote::quote;
pub fn ini(name: &Ident) {
append_dummy(quote! {
impl #name {
pub fn parse<'a>(i: &'a ::ini::Ini) -> ::std::Result<Self, ::ini::Error> {
unimplemented!()
}
}
});
}
|