Skip to content

Compilation error on latest nightly #8

@antmoth

Description

@antmoth

When compiling something with error_def 0.3.16 as a dependency on the latest nightly, I get the following error:

   Compiling error_def v0.3.16              
error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope                                   
   --> /home/ethomas/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/error_def-0.3.16/src/lib.rs:113:65                                                                          
    |                                       
113 |                                                                 Visibility::Inherited,                                                                                     
    |                                                                 ^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` 

I was able to compile by using a 1.25.0 nightly but only without the +nightly flag.

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