Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

Does not compile on nightly rust #58

@frewsxcv

Description

@frewsxcv
coreyf@frewbook-pro ~/D/r/aster (master)> rustc -Vv
rustc 1.7.0-nightly (42c3ef8f9 2015-12-22)
binary: rustc
commit-hash: 42c3ef8f9fd4b0dd1f881c49323bad456163f202
commit-date: 2015-12-22
host: x86_64-apple-darwin
release: 1.7.0-nightly
coreyf@frewbook-pro ~/D/r/aster (master)> cargo build
   Compiling aster v0.9.1 (file:///Users/coreyf/Development/rust/aster)
src/fn_decl.rs:152:21: 152:37 error: unresolved name `ast::BindByValue` [E0425]
src/fn_decl.rs:152                     ast::BindByValue(ast::Mutability::MutImmutable),
                                       ^~~~~~~~~~~~~~~~
src/fn_decl.rs:152:21: 152:37 help: run `rustc --explain E0425` to see a detailed explanation
src/pat.rs:70:20: 70:49 error: no associated item named `BindByValue` found for type `syntax::ast::BindingMode` in the current scope
src/pat.rs:70         let mode = ast::BindingMode::BindByValue(ast::Mutability::MutImmutable);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pat.rs:77:20: 77:49 error: no associated item named `BindByValue` found for type `syntax::ast::BindingMode` in the current scope
src/pat.rs:77         let mode = ast::BindingMode::BindByValue(ast::Mutability::MutMutable);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pat.rs:84:20: 84:47 error: no associated item named `BindByRef` found for type `syntax::ast::BindingMode` in the current scope
src/pat.rs:84         let mode = ast::BindingMode::BindByRef(ast::Mutability::MutImmutable);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pat.rs:91:20: 91:47 error: no associated item named `BindByRef` found for type `syntax::ast::BindingMode` in the current scope
src/pat.rs:91         let mode = ast::BindingMode::BindByRef(ast::Mutability::MutMutable);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 5 previous errors
Could not compile `aster`.

To learn more, run the command again with --verbose.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions