This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
granite-rust
Watch
1
Star
0
Fork
You've already forked granite-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
64f5293956
granite-rust
/
tests
/
ui
/
issues
/
issue-40610.rs
7 lines
93 B
Rust
Raw
Normal View
History
Unescape
Escape
Avoid type-checking addition and indexing twice.
2017-03-27 21:52:51 +03:00
fn
f
(
_
:
&
[
f32
]
)
{
}
fn
main
(
)
{
(
)
+
f
(
&
[
1.0
]
)
;
Update tests
2019-12-11 23:11:32 +01:00
//~^ ERROR cannot add `()` to `()`
Avoid type-checking addition and indexing twice.
2017-03-27 21:52:51 +03:00
}
Reference in a new issue
Copy permalink