Test EII UI tests with prefer-dynamic

This commit is contained in:
朝倉水希
2026-05-15 00:06:14 +08:00
parent 1a70f8d36e
commit 124126e083
17 changed files with 6 additions and 20 deletions
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ needs-unwind
//@ exec-env:RUST_BACKTRACE=1
#![crate_type = "rlib"]
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl_with_default.rs
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl_with_default.rs
//@ run-pass
//@ check-run-results
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl_with_default_panics.rs
//@ edition: 2021
//@ run-pass
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl_with_default.rs
//@ aux-build: impl1.rs
//@ run-pass
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl.rs
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl.rs
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl.rs
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: decl.rs
#![crate_type = "rlib"]
#![feature(extern_item_impls)]
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: impl1.rs
//@ aux-build: impl2.rs
//@ ignore-backends: gcc
+2 -2
View File
@@ -1,10 +1,10 @@
error: multiple implementations of `#[eii1]`
--> $DIR/auxiliary/impl1.rs:10:1
--> $DIR/auxiliary/impl1.rs:9:1
|
LL | fn other(x: u64) {
| ^^^^^^^^^^^^^^^^ first implemented here in crate `impl1`
|
::: $DIR/auxiliary/impl2.rs:10:1
::: $DIR/auxiliary/impl2.rs:9:1
|
LL | fn other(x: u64) {
| ---------------- also implemented here in crate `impl2`
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: impl1.rs
//@ aux-build: impl2.rs
//@ aux-build: impl3.rs
+2 -2
View File
@@ -1,10 +1,10 @@
error: multiple implementations of `#[eii1]`
--> $DIR/auxiliary/impl1.rs:10:1
--> $DIR/auxiliary/impl1.rs:9:1
|
LL | fn other(x: u64) {
| ^^^^^^^^^^^^^^^^ first implemented here in crate `impl1`
|
::: $DIR/auxiliary/impl2.rs:10:1
::: $DIR/auxiliary/impl2.rs:9:1
|
LL | fn other(x: u64) {
| ---------------- also implemented here in crate `impl2`
-1
View File
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
//@ aux-build: impl1.rs
//@ aux-build: impl2.rs
//@ aux-build: impl3.rs
+2 -2
View File
@@ -1,10 +1,10 @@
error: multiple implementations of `#[eii1]`
--> $DIR/auxiliary/impl1.rs:10:1
--> $DIR/auxiliary/impl1.rs:9:1
|
LL | fn other(x: u64) {
| ^^^^^^^^^^^^^^^^ first implemented here in crate `impl1`
|
::: $DIR/auxiliary/impl2.rs:10:1
::: $DIR/auxiliary/impl2.rs:9:1
|
LL | fn other(x: u64) {
| ---------------- also implemented here in crate `impl2`
@@ -1,4 +1,3 @@
//@ no-prefer-dynamic
#![crate_type = "rlib"]
#![feature(extern_item_impls)]