This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
adec1a2e84
rust
/
tests
/
ui
/
coercion
/
coerce-block-tail-83850.rs
8 lines
107 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 14:02:50 -06:00
//@ check-fail
Add tests for autoderef on block tail
2022-10-16 15:03:23 -05:00
fn
f
(
_
:
&
[
i32
]
)
{
}
fn
main
(
)
{
f
(
&
Box
::
new
(
[
1
,
2
]
)
)
;
//~^ ERROR mismatched types
}
Reference in New Issue
Copy Permalink