Skip to content

Commit

Permalink
Relocate dyn* test out of parenthesis insertion test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 21, 2024
1 parent 7a21df5 commit e18e1d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/ui-fulldeps/pprust-parenthesis-insertion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/ui/unpretty/expanded-exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -800,6 +801,7 @@ mod types {
let _: dyn Send + 'static;
let _: dyn 'static + Send;
let _: dyn for<'a> Send;
let _: dyn* Send;
}

/// TyKind::ImplTrait
Expand Down
2 changes: 2 additions & 0 deletions tests/ui/unpretty/expanded-exhaustive.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit e18e1d2

Please sign in to comment.