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
2025-05-09 08:27:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bbfbecd59f
rust
/
tests
/
ui
/
parser
/
issue-17718-parse-const.rs
8 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 12:18:55 +00:00
// run-pass
rustdoc: Replace no-pretty-expanded with pretty-expanded Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-22 20:13:15 +00:00
Mass rename uint/int to usize/isize Now that support has been removed, all lingering use cases are renamed.
2015-03-26 00:06:52 +00:00
const
FOO
:
usize
=
3
;
syntax: Enable parsing of `const` globals This rewrites them to the current `ItemStatic` production of the compiler, but I want to get this into a snapshot. It will be illegal to use a `static` in a pattern of a `match` statement, so all those current uses will need to be rewritten to `const` once it's implemented. This requires that the stage0 snapshot is able to parse `const`. cc #17718
2014-10-02 22:06:08 +00:00
fn
main
(
)
{
assert_eq!
(
FOO
,
3
)
;
}
Reference in New Issue
Copy Permalink