Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed most instances of vec!(..) and replaced them with vec![..]s #37476

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a920e35
Shrink Expr_::ExprInlineAsm.
nnethercote Oct 28, 2016
c751c08
save-analysis: change imports to carry a ref id rather than their own…
nrc Oct 28, 2016
4e46d31
Changed all empty vec!()s to use square brackets
iirelu Oct 29, 2016
2de033b
Removed every last vec!(..) from Rust. Yay.
iirelu Oct 29, 2016
47f8539
Reverted vec![] change in pretty print test
iirelu Oct 30, 2016
bdb399d
Fix ICE when attempting to get closure generics.
Mark-Simulacrum Oct 28, 2016
f5a702d
Auto merge of #37445 - nnethercote:shrink-Expr_, r=eddyb
bors Oct 30, 2016
abe7c18
Merge branch 'master' of github.com:rust-lang/rust into proper-vec-br…
iirelu Oct 30, 2016
ea20ab1
Auto merge of #37459 - Mark-Simulacrum:closure-ice, r=eddyb
bors Oct 30, 2016
a2a2763
Replace all uses of SHA-256 with BLAKE2b.
michaelwoerister Oct 27, 2016
bd1ce91
Add rustc_data_structures to rustc_driver dependencies.
michaelwoerister Oct 29, 2016
9ef9194
Make the crate disambiguator 128 bits instead of 256 bits.
michaelwoerister Oct 30, 2016
bfc9b29
Auto merge of #37460 - nrc:save-imports, r=eddyb
bors Oct 31, 2016
8ec0b3a
Do not clone Mir unnecessarily
nagisa Oct 31, 2016
8f1fc86
Auto merge of #37489 - nagisa:unnecessary-clone, r=eddyb
bors Oct 31, 2016
4497196
Auto merge of #37439 - michaelwoerister:remove-sha256, r=alexcrichton
bors Oct 31, 2016
25aa44c
Changed all empty vec!()s to use square brackets
iirelu Oct 29, 2016
62b29e9
Resolved merge conflict
iirelu Oct 31, 2016
e3edd73
Merge branch 'proper-vec-brackets' of github.com:iirelu/rust into pro…
iirelu Oct 31, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reverted vec![] change in pretty print test
Sadly it looks like pretty printing still wants vec![]s to be vec!()s :(

This is something that should be fixed at another time.
  • Loading branch information
iirelu committed Oct 30, 2016
commit 47f8539a19cd3f831dc67d17d08ede0aa7cf8fe4
2 changes: 1 addition & 1 deletion src/test/pretty/stmt_expr_attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fn _11() {
let t = Bar(());
let _ = #[attr] t.0;
let _ = (#[attr] t).0;
let v = vec![0];
let v = vec!(0);
let _ = #[attr] v[0];
let _ = (#[attr] v)[0];
let _ = #[attr] 0..#[attr] 0;
Expand Down