Sign in
fuchsia
/
third_party
/
rust
/
2aa52035d5d1886bd44ac65d353defd2d766264e
/
.
/
src
/
test
/
ui
/
issues
/
issue-25826.rs
blob: e6022653d9c3b2ae81e15ced1dabe531132daa18 [
file
] [
log
] [
blame
]
fn
id
<
T
>(
t
:
T
)
->
T
{
t
}
fn
main
()
{
const
A
:
bool
=
id
::<
u8
>
as
*
const
()
<
id
::<
u16
>
as
*
const
();
//~^ ERROR comparing raw pointers inside constant
println
!(
"{}"
,
A
);
}