Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-class
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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"
]
#![feature(
extern_crate_item_prelud
e)]
#![feature(
option_replac
e)]
// While under active devel, these warnings are kind of annoying.
#![allow(dead_code)]
...
...
@@ -241,6 +241,14 @@ use crate::errors::*;
#[macro_use]
mod
errors
;
#[macro_use]
extern
crate
quote
;
extern
crate
syn
;
extern
crate
glib
;
extern
crate
glib_sys
;
extern
crate
gobject_sys
;
mod
ast
;
mod
checking
;
mod
gen
;
...
...
src/parser/mod.rs
View file @
f91fa25f
use
proc_macro
;
extern
crate
proc_macro
;
use
proc_macro2
::
TokenStream
;
use
syn
::
parse
::{
Parse
,
ParseStream
,
Result
};
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