Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Ian P. Cooke
gnome-class
Commits
f91fa25f
Commit
f91fa25f
authored
Nov 18, 2018
by
Antoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to allowing using on older nightly
parent
8c6ac0bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/lib.rs
src/lib.rs
+9
-1
src/parser/mod.rs
src/parser/mod.rs
+2
-1
No files found.
src/lib.rs
View file @
f91fa25f
#![recursion_limit
=
"512"
]
#![recursion_limit
=
"512"
]
#![feature(
extern_crate_item_prelud
e)]
#![feature(
option_replac
e)]
// 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
;
...
...
src/parser/mod.rs
View file @
f91fa25f
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
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment