summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/in-trait/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/in-trait/auxiliary')
-rw-r--r--tests/ui/impl-trait/in-trait/auxiliary/rpitit.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/impl-trait/in-trait/auxiliary/rpitit.rs b/tests/ui/impl-trait/in-trait/auxiliary/rpitit.rs
index 776006124..cfc2193f6 100644
--- a/tests/ui/impl-trait/in-trait/auxiliary/rpitit.rs
+++ b/tests/ui/impl-trait/in-trait/auxiliary/rpitit.rs
@@ -1,5 +1,3 @@
-// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
-
#![feature(return_position_impl_trait_in_trait)]
use std::ops::Deref;
@@ -10,5 +8,7 @@ pub trait Foo {
pub struct Foreign;
impl Foo for Foreign {
- fn bar(self) -> &'static () { &() }
+ fn bar(self) -> &'static () {
+ &()
+ }
}