mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
Test EII UI tests with prefer-dynamic
This commit is contained in:
@@ -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,4 +1,3 @@
|
||||
//@ no-prefer-dynamic
|
||||
//@ aux-build: decl_with_default.rs
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(extern_item_impls)]
|
||||
|
||||
@@ -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,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,4 +1,3 @@
|
||||
//@ no-prefer-dynamic
|
||||
//@ aux-build: impl1.rs
|
||||
//@ aux-build: impl2.rs
|
||||
//@ ignore-backends: gcc
|
||||
|
||||
@@ -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
|
||||
//@ aux-build: impl1.rs
|
||||
//@ aux-build: impl2.rs
|
||||
//@ aux-build: impl3.rs
|
||||
|
||||
@@ -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
|
||||
//@ aux-build: impl1.rs
|
||||
//@ aux-build: impl2.rs
|
||||
//@ aux-build: impl3.rs
|
||||
|
||||
@@ -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)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user