Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
5b51a8ef4f0fc5a4ba1fce1e16cea844f4f2e9a9
rust/tests/ui/static/static-mut-not-constant.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
123 B
Rust
Raw Normal View History

Test fixes and rebase conflicts
2015-01-07 18:53:58 -08:00
#![feature(box_syntax)]
librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-05-05 18:56:44 -07:00
Update compile fail tests to use isize.
2015-01-08 21:54:35 +11:00
static mut a: Box<isize> = box 3;
rustc: merge check_static into check_const.
2014-12-30 22:36:03 +02:00
//~^ ERROR allocations are not allowed in statics
Add 'static mut' items to the language
2013-06-21 18:46:34 -07:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 5504ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API