Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
call-generic-method-pass.stderr
blob: bea1846e79be7dce7ba316c9c90eb8d455915f94 [
file
] [
log
] [
blame
]
error
:
~
const
can only be applied to
`#[const_trait]`
traits
-->
$DIR
/
call
-
generic
-
method
-
pass
.
rs
:
18
:
32
|
LL
|
const
fn equals_self
<
T
:
~
const
PartialEq
>(
t
:
&
T
)
->
bool
{
|
^^^^^^^^^
error
:
aborting due to previous error