diff options
| author | lcnr <rust@lcnr.de> | 2024-03-01 12:33:42 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2024-09-05 07:57:16 +0000 |
| commit | 1a893ac648e03732aaa8b5371b602ab683970b0d (patch) | |
| tree | 1db86cfc2d2051e5a1e915eecc43592810178739 /tests/ui/coherence/normalize-for-errors.rs | |
| parent | 009e73825af0e59ad4fc603562e038b3dbd6593a (diff) | |
| download | rust-1a893ac648e03732aaa8b5371b602ab683970b0d.tar.gz rust-1a893ac648e03732aaa8b5371b602ab683970b0d.zip | |
stabilize `-Znext-solver=coherence`
Diffstat (limited to 'tests/ui/coherence/normalize-for-errors.rs')
| -rw-r--r-- | tests/ui/coherence/normalize-for-errors.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/ui/coherence/normalize-for-errors.rs b/tests/ui/coherence/normalize-for-errors.rs index c17bb766b5b..3ef91eb0386 100644 --- a/tests/ui/coherence/normalize-for-errors.rs +++ b/tests/ui/coherence/normalize-for-errors.rs @@ -1,7 +1,3 @@ -//@ revisions: current next -//@ ignore-compare-mode-next-solver (explicit revisions) -//@[next] compile-flags: -Znext-solver - struct MyType; trait MyTrait<S> {} @@ -18,6 +14,6 @@ impl<S: Iterator> MyTrait<S> for (Box<<(MyType,) as Mirror>::Assoc>, S::Item) {} //~^ ERROR conflicting implementations of trait `MyTrait<_>` for type `(Box<(MyType,)>, //~| NOTE conflicting implementation for `(Box<(MyType,)>, //~| NOTE upstream crates may add a new impl of trait `std::marker::Copy` for type `std::boxed::Box<(MyType,)>` in future versions -//[next]~| NOTE upstream crates may add a new impl of trait `std::clone::Clone` for type `std::boxed::Box<(MyType,)>` in future versions +//~| NOTE upstream crates may add a new impl of trait `std::clone::Clone` for type `std::boxed::Box<(MyType,)>` in future versions fn main() {} |
