Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
closures
/
issue-90871.rs
blob: 7ce061cd388c99602a40e9b62043fc9929372abe [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
type_ascription
)]
fn
main
()
{
type_ascribe
!(
2
,
n
([
u8
;
||
1
]))
//~^ ERROR cannot find type `n` in this scope
//~| ERROR mismatched types
}