Skip to content

Compiling error #33

Open
Open
@Jekshmek

Description

@Jekshmek

rustc 1.33.0 (2aa4c46cf 2019-02-28)

   Compiling postgres_macros v0.1.13
error[E0432]: unresolved import `syntax::codemap`
  --> /home/jeka/.cargo/registry/src/github.com-1ecc6299db9ec823/postgres_macros-0.1.13/src/lib.rs:13:13
   |
13 | use syntax::codemap::Span;
   |             ^^^^^^^ could not find `codemap` in `syntax`

error[E0554]: #![feature] may not be used on the stable release channel
 --> /home/jeka/.cargo/registry/src/github.com-1ecc6299db9ec823/postgres_macros-0.1.13/src/lib.rs:1:1
  |
1 | #![feature(plugin_registrar, rustc_private, libc)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
  --> /home/jeka/.cargo/registry/src/github.com-1ecc6299db9ec823/postgres_macros-0.1.13/src/lib.rs:69:17
   |
69 |     match parse(&query) {
   |                 ^^^^^^ expected str, found struct `syntax::symbol::InternedString`
   |
   = note: expected type `&str`
              found type `&syntax::symbol::InternedString`

error[E0308]: mismatched types
   --> /home/jeka/.cargo/registry/src/github.com-1ecc6299db9ec823/postgres_macros-0.1.13/src/lib.rs:104:17
    |
104 |     match parse(&query) {
    |                 ^^^^^^ expected str, found struct `syntax::symbol::InternedString`
    |
    = note: expected type `&str`
               found type `&syntax::symbol::InternedString`

error[E0308]: mismatched types
   --> /home/jeka/.cargo/registry/src/github.com-1ecc6299db9ec823/postgres_macros-0.1.13/src/lib.rs:130:48
    |
130 |                 LitKind::Str(ref s, _) => Some(s.as_str()),
    |                                                ^^^^^^^^^^ expected struct `syntax::symbol::InternedString`, found struct `syntax::symbol::LocalInternedString`
    |
    = note: expected type `syntax::symbol::InternedString`
               found type `syntax::symbol::LocalInternedString`

error: aborting due to 5 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions