Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
issues
/
issue-24363.rs
blob: f358b8b90171ded146b19233e020873dbfc0f0f3 [
file
] [
log
] [
blame
]
fn
main
()
{
1.create
_a_type_error
[
//~ ERROR `{integer}` is a primitive type and therefore doesn't have fields
()+()
//~ ERROR cannot add
// ^ ensure that we typeck the inner expression ^
];
}