mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
21 lines
564 B
Rust
21 lines
564 B
Rust
//@ no-prefer-dynamic
|
|
//@ aux-build: impl1.rs
|
|
//@ aux-build: impl2.rs
|
|
//@ aux-build: impl3.rs
|
|
//@ aux-build: impl4.rs
|
|
//@ ignore-backends: gcc
|
|
// FIXME: linking on windows (speciifcally mingw) not yet supported, see tracking issue #125418
|
|
//@ ignore-windows
|
|
// Tests the error message when there are multiple implementations of an EII in many crates.
|
|
#![feature(extern_item_impls)]
|
|
|
|
// has a span but in the other crate
|
|
//~? ERROR multiple implementations of `#[eii1]`
|
|
|
|
extern crate impl1;
|
|
extern crate impl2;
|
|
extern crate impl3;
|
|
extern crate impl4;
|
|
|
|
fn main() {}
|