Skip to content

Commit

Permalink
remove erroneous E0045 annotation
Browse files Browse the repository at this point in the history
The old parse code kept going even though it wasn't
supposed to, leading to an E0045 ("feature not allowed
on beta") printout
  • Loading branch information
nikomatsakis committed Nov 1, 2016
1 parent 6236ee1 commit 4501e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ Rust only supports variadic parameters for interoperability with C code in its
FFI. As such, variadic parameters can only be used with functions which are
using the C ABI. Examples of erroneous code:
```compile_fail,E0045
```compile_fail
#![feature(unboxed_closures)]
extern "rust-call" { fn foo(x: u8, ...); }
Expand Down

0 comments on commit 4501e5a

Please sign in to comment.