Files
rust/tests/ui/eii/duplicate/duplicate3.rs
T
Jana Dönszelmann 065e4c1c8a ignore windows
2025-12-13 22:49:45 +01:00

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() {}