canndrew / error_def

Rust syntax extension for generating error-handling boilerplate code.
GNU General Public License v2.0
18 stars 1 forks source link

Compilation error on latest nightly #8

Open antmoth opened 6 years ago

antmoth commented 6 years ago

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.com-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.

antmoth commented 6 years ago

Due to this issue going unresolved, we've moved away from error_def and over to YADE.