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
9aa4f6acb2
rust
/
tests
/
ui
/
issues
/
issue-13446.rs
7 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test for issue #13446 Closes #13446
2014-06-09 00:44:49 -05:00
// Used to cause ICE
Changed most vec! invocations to use square braces Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
2016-10-29 16:54:04 -05:00
static
VEC
:
[
u32
;
256
]
=
vec!
[
]
;
Match errors using the callsite of macro expansions
2018-07-19 07:15:43 -05:00
//~^ ERROR mismatched types
Add test for issue #13446 Closes #13446
2014-06-09 00:44:49 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink