Relocate dyn* test out of parenthesis insertion test
This commit is contained in:
parent
1cc8289791
commit
23a250738b
3 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue