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