mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
18 lines
363 B
Rust
18 lines
363 B
Rust
//@ known-bug: #121429
|
|
#![feature(generic_const_exprs)]
|
|
|
|
pub trait True {}
|
|
|
|
impl<const N: usize = { const { 3 } }> PartialEq<FixedI8<FRAC_RHS>> for FixedI8<FRAC_LHS> where
|
|
If<{}>: True
|
|
{
|
|
}
|
|
#![feature(generic_const_exprs)]
|
|
|
|
pub trait True {}
|
|
|
|
impl<const N: usize = { const { 3 } }> PartialEq<FixedI8<FRAC_RHS>> for FixedI8<FRAC_LHS> where
|
|
If<{}>: True
|
|
{
|
|
}
|