This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-11-23 23:34:48 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
83964c156d
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 05:44:49 +00: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 21:54:04 +00:00
static
VEC
:
[
u32
;
256
]
=
vec!
[
]
;
Match errors using the callsite of macro expansions
2018-07-19 12:15:43 +00:00
//~^ ERROR mismatched types
Add test for issue #13446 Closes #13446
2014-06-09 05:44:49 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink