Closed
Description
When building current rust master, the following warning is emitted (non-fatal)
rustc: x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_typeck
../src/librustc_typeck/astconv.rs:1565:17: 1566:79 warning: diagnostic code E0045 already used
../src/librustc_typeck/astconv.rs:1565 span_err!(tcx.sess, ast_ty.span, E0045,
../src/librustc_typeck/astconv.rs:1566 "variadic function must have C calling convention");
../src/librustc_typeck/check/mod.rs:688:13: 701:14 note: previous invocation
../src/librustc_typeck/check/mod.rs:688 for item in &m.items {
../src/librustc_typeck/check/mod.rs:689 let pty = ccx.tcx.lookup_item_type(local_def(item.id));
../src/librustc_typeck/check/mod.rs:690 if !pty.generics.types.is_empty() {
../src/librustc_typeck/check/mod.rs:691 span_err!(ccx.tcx.sess, item.span, E0044,
../src/librustc_typeck/check/mod.rs:692 "foreign items may not have type parameters");
../src/librustc_typeck/check/mod.rs:693 }
Metadata
Metadata
Assignees
Labels
No labels