This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
rust
mirror of
https://github.com/rust-lang/rust.git
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
879d143229
rust
/
tests
/
ui
/
binop
/
multiply-is-deref-on-rhs.rs
9 lines
114 B
Rust
Raw
Blame
History
pub
fn
test
(
y
:
&
i32
)
{
let
x
;
x
=
(
)
*
y
//~^ ERROR cannot multiply `()` by `&i32`
}
fn
main
(
)
{
}
Reference in New Issue
View Git Blame
Copy Permalink