Relocate dyn* test out of parenthesis insertion test

This commit is contained in:
David Tolnay 2024-12-20 20:41:34 -08:00
parent 1cc8289791
commit 23a250738b
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
3 changed files with 4 additions and 1 deletions

View file

@ -129,7 +129,6 @@ static EXPRS: &[&str] = &[
"(0.).to_string()",
"0. .. 1.",
*/
"i as dyn* Trait",
];
// Flatten the content of parenthesis nodes into their parent node. For example

View file

@ -9,6 +9,7 @@
#![feature(const_trait_impl)]
#![feature(decl_macro)]
#![feature(deref_patterns)]
#![feature(dyn_star)]
#![feature(explicit_tail_calls)]
#![feature(gen_blocks)]
#![feature(let_chains)]
@ -800,6 +801,7 @@ mod types {
let _: dyn Send + 'static;
let _: dyn 'static + Send;
let _: dyn for<'a> Send;
let _: dyn* Send;
}
/// TyKind::ImplTrait

View file

@ -10,6 +10,7 @@
#![feature(const_trait_impl)]
#![feature(decl_macro)]
#![feature(deref_patterns)]
#![feature(dyn_star)]
#![feature(explicit_tail_calls)]
#![feature(gen_blocks)]
#![feature(let_chains)]
@ -647,6 +648,7 @@ mod types {
let _: dyn Send + 'static;
let _: dyn 'static + Send;
let _: dyn for<'a> Send;
let _: dyn* Send;
}
/// TyKind::ImplTrait
const fn ty_impl_trait() {