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
b20f40dba9
rust
/
tests
/
ui
/
sized
/
unsized-binding.rs
6 lines
93 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test for #56607
2023-06-29 22:06:15 -05:00
fn
main
(
)
{
let
x
=
*
"
"
;
//~ ERROR E0277
Only emit one error per unsized binding, instead of one per usage Fix #56607.
2023-06-29 22:14:44 -05:00
println!
(
"
{}
"
,
x
)
;
println!
(
"
{}
"
,
x
)
;
Add test for #56607
2023-06-29 22:06:15 -05:00
}
Reference in New Issue
Copy Permalink