Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
crashes
/
137187.rs
blob: 554275441ff0e9e12186be7414b008dba6799c5f [
file
]
//@ known-bug: #137187
#![
feature
(
const_trait_impl
,
const_ops
)]
use
std
::
ops
::
Add
;
const
trait
A where
*
const
Self
:
const
Add
,
{
fn
b
(
c
:
*
const
Self
)
->
<*
const
Self
as
Add
>::
Output
{
c
+
c
}
}
fn
main
()
{}