Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
parser
/
item-free-type-bounds-syntactic-pass.rs
blob: 8603dc3eaf86448c947b45ab1497b0bc04a9f85a [
file
] [
log
] [
blame
]
//@ check-pass
fn
main
()
{}
#[
cfg
(
false
)]
fn
syntax
()
{
type
A
:
Ord
;
type
B
:
Ord
=
u8
;
type
C
:
Ord
where
'static: '
static
=
u8
;
type
D
<
_T
>:
Ord
;
type
E
<
_T
>:
Ord
=
u8
;
type
F
<
_T
>:
Ord
where
'static: '
static
=
u8
;
}