1
Fork 0

Better group RFC ui tests together

This commit is contained in:
Maybe Waffle 2023-05-29 15:43:15 +00:00
parent 7452822843
commit 9d3482c403
543 changed files with 145 additions and 145 deletions

View file

@ -0,0 +1,26 @@
// check-pass
#![feature(const_trait_impl)]
#[const_trait]
trait Tr {
fn req(&self);
fn default() {}
}
impl const Tr for u8 {
fn req(&self) {}
}
macro_rules! impl_tr {
($ty: ty) => {
impl const Tr for $ty {
fn req(&self) {}
}
}
}
impl_tr!(u64);
fn main() {}