Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
issue-88071.rs
blob: 327daad9b323aa7d91ab4426609e21fdf49839a6 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//
// regression test for #88071
use
std
::
collections
::
BTreeMap
;
pub
struct
CustomMap
<
K
,
V
>(
BTreeMap
<
K
,
V
>);
impl
<
K
,
V
>
CustomMap
<
K
,
V
>
where
K
:
Ord
,
{
pub
const
fn
new
()
->
Self
{
CustomMap
(
BTreeMap
::
new
())
}
}
fn
main
()
{}