Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
parser
/
where-clauses-no-bounds-or-predicates.rs
blob: e80db5372b609437863c499592b15a8de48c67a4 [
file
] [
log
] [
blame
]
// Empty predicate list is OK
fn
equal1
<
T
>(
_
:
&
T
,
_
:
&
T
)
->
bool where
{
true
}
// Empty bound list is OK
fn
equal2
<
T
>(
_
:
&
T
,
_
:
&
T
)
->
bool where T
:
{
true
}
fn
foo
<
'a>() where '
a
{}
//~^ ERROR expected `:`, found `{`
fn
main
()
{
}