Commit f91fa25f authored by Antoni's avatar Antoni

Fix to allowing using on older nightly

parent 8c6ac0bc
#![recursion_limit = "512"] #![recursion_limit = "512"]
#![feature(extern_crate_item_prelude)] #![feature(option_replace)]
// While under active devel, these warnings are kind of annoying. // While under active devel, these warnings are kind of annoying.
#![allow(dead_code)] #![allow(dead_code)]
...@@ -241,6 +241,14 @@ use crate::errors::*; ...@@ -241,6 +241,14 @@ use crate::errors::*;
#[macro_use] #[macro_use]
mod errors; mod errors;
#[macro_use]
extern crate quote;
extern crate syn;
extern crate glib;
extern crate glib_sys;
extern crate gobject_sys;
mod ast; mod ast;
mod checking; mod checking;
mod gen; mod gen;
......
use proc_macro; extern crate proc_macro;
use proc_macro2::TokenStream; use proc_macro2::TokenStream;
use syn::parse::{Parse, ParseStream, Result}; use syn::parse::{Parse, ParseStream, Result};
use syn::{self, braced, parenthesized, Token}; use syn::{self, braced, parenthesized, Token};
......
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