Skip to content

Commit 23a2507

Browse files
committed
Relocate dyn* test out of parenthesis insertion test
1 parent 1cc8289 commit 23a2507

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

tests/ui-fulldeps/pprust-parenthesis-insertion.rs

-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ static EXPRS: &[&str] = &[
129129
"(0.).to_string()",
130130
"0. .. 1.",
131131
*/
132-
"i as dyn* Trait",
133132
];
134133

135134
// Flatten the content of parenthesis nodes into their parent node. For example

tests/ui/unpretty/expanded-exhaustive.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#![feature(const_trait_impl)]
1010
#![feature(decl_macro)]
1111
#![feature(deref_patterns)]
12+
#![feature(dyn_star)]
1213
#![feature(explicit_tail_calls)]
1314
#![feature(gen_blocks)]
1415
#![feature(let_chains)]
@@ -800,6 +801,7 @@ mod types {
800801
let _: dyn Send + 'static;
801802
let _: dyn 'static + Send;
802803
let _: dyn for<'a> Send;
804+
let _: dyn* Send;
803805
}
804806

805807
/// TyKind::ImplTrait

tests/ui/unpretty/expanded-exhaustive.stdout

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#![feature(const_trait_impl)]
1111
#![feature(decl_macro)]
1212
#![feature(deref_patterns)]
13+
#![feature(dyn_star)]
1314
#![feature(explicit_tail_calls)]
1415
#![feature(gen_blocks)]
1516
#![feature(let_chains)]
@@ -647,6 +648,7 @@ mod types {
647648
let _: dyn Send + 'static;
648649
let _: dyn 'static + Send;
649650
let _: dyn for<'a> Send;
651+
let _: dyn* Send;
650652
}
651653
/// TyKind::ImplTrait
652654
const fn ty_impl_trait() {

0 commit comments

Comments
 (0)