Move the checks for Arguments constructors to inline const
This commit is contained in:
parent
213ad10c8f
commit
9763222f59
6 changed files with 75 additions and 87 deletions
|
@ -34,7 +34,7 @@ fn bar() ({
|
|||
((::alloc::fmt::format as
|
||||
for<'a> fn(Arguments<'a>) -> String {format})(((format_arguments::new_const
|
||||
as
|
||||
fn(&[&'static str]) -> Arguments<'_> {Arguments::<'_>::new_const})((&([("test"
|
||||
fn(&[&'static str; 1]) -> Arguments<'_> {Arguments::<'_>::new_const::<1>})((&([("test"
|
||||
as &str)] as [&str; 1]) as &[&str; 1])) as Arguments<'_>))
|
||||
as String);
|
||||
(res as String)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue