Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
typeck
/
issue-91267.rs
blob: 22198532b0c91fa5b76fe03941f46bc011fa46b0 [
file
]
#![
feature
(
type_ascription
)]
fn
main
()
{
type_ascribe
!(
0
,
u8
<
e
<
5
>=
e
>)
//~^ ERROR: cannot find type `e` in this scope [E0425]
//~| ERROR: associated item constraints are not allowed here [E0229]
//~| ERROR: mismatched types [E0308]
}