File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ edition = "2018"
1616
1717[dependencies ]
1818proc-macro2 = " 0.4.30"
19- syn = { version = " 1.0.5" , features = [" full" , " visit" , " fold" ] }
20- quote = " 1.0.2 "
19+ syn = { version = " = 1.0.5" , features = [" full" , " visit" , " fold" ] }
20+ quote = " ^ 1.0.3 "
2121
2222[dev-dependencies ]
2323em = { path = " ../em" , version = " 0.*" }
2424
2525[lib ]
26- proc-macro = true
26+ proc-macro = true
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ impl Fold for Accelerator {
120120 // is it load? read? launch?
121121 if path
122122 . path
123- . is_ident ( & Ident :: new ( "load" , quote:: __rt :: Span :: call_site ( ) ) )
123+ . is_ident ( & Ident :: new ( "load" , quote:: __private :: Span :: call_site ( ) ) )
124124 {
125125 let new_code = quote ! {
126126 {
@@ -166,7 +166,7 @@ impl Fold for Accelerator {
166166 new_ast
167167 } else if path
168168 . path
169- . is_ident ( & Ident :: new ( "read" , quote:: __rt :: Span :: call_site ( ) ) )
169+ . is_ident ( & Ident :: new ( "read" , quote:: __private :: Span :: call_site ( ) ) )
170170 {
171171 let new_code = quote ! {
172172 {
@@ -190,7 +190,7 @@ impl Fold for Accelerator {
190190 new_ast
191191 } else if path
192192 . path
193- . is_ident ( & Ident :: new ( "launch" , quote:: __rt :: Span :: call_site ( ) ) )
193+ . is_ident ( & Ident :: new ( "launch" , quote:: __private :: Span :: call_site ( ) ) )
194194 {
195195 self . ready_to_launch = true ;
196196
@@ -256,7 +256,7 @@ impl Fold for Accelerator {
256256
257257 // (b) generate arguments
258258 let args = code_generator. params . iter ( ) . map ( |param| {
259- let ident = Ident :: new ( & param. name , quote:: __rt :: Span :: call_site ( ) ) ;
259+ let ident = Ident :: new ( & param. name , quote:: __private :: Span :: call_site ( ) ) ;
260260 let ident_literal = ident. to_string ( ) . clone ( ) ;
261261
262262 if param. is_array {
You can’t perform that action at this time.
0 commit comments