Skip to content

Rollup of 12 pull requests #30457

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

Merged
merged 21 commits into from
Dec 18, 2015
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2a1efca
Fix typo
jwworth Dec 15, 2015
d91b256
change macro ambiguity example from ty to ident
durka Dec 16, 2015
6309b0f
move error handling from libsyntax/diagnostics.rs to libsyntax/errors/*
nrc Dec 13, 2015
a478811
Move a bunch of stuff from Session to syntax::errors
nrc Dec 14, 2015
7a03349
Add the files I fogot about earlier
nrc Dec 15, 2015
e237151
A little more refactoring inside emitter.rs
nrc Dec 15, 2015
ff0c74f
test errors
nrc Dec 15, 2015
ccb2186
Trivial cleanup
mmcco Dec 17, 2015
09d4a43
libsyntax: Merge OwnedSlice into ptr::P
petrochenkov Dec 16, 2015
0d298f9
Deprecate name `OwnedSlice` and don't use it
petrochenkov Dec 16, 2015
6c87b19
Abstract away differences between Vec and ptr::P in HIR
petrochenkov Dec 17, 2015
2a23e4a
Clarified shadowing example
Xmasreturns Dec 17, 2015
88ffb26
Fix emitting asm and object file output at the same time
dotdash Dec 18, 2015
cb319fc
Rollup merge of #30286 - oli-obk:const_error_span, r=nikomatsakis
Manishearth Dec 18, 2015
c290296
Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakis
Manishearth Dec 18, 2015
7eb7bc2
Rollup merge of #30398 - jwworth:pull-request-1450205451, r=sanxiyn
Manishearth Dec 18, 2015
158a1bd
Rollup merge of #30406 - durka:patch-13, r=sanxiyn
Manishearth Dec 18, 2015
9e953df
Rollup merge of #30420 - petrochenkov:owned2, r=nrc
Manishearth Dec 18, 2015
e916676
Rollup merge of #30431 - mmcco:cleanup, r=alexcrichton
Manishearth Dec 18, 2015
4f8b32c
Rollup merge of #30447 - Xmasreturns:Docu, r=steveklabnik
Manishearth Dec 18, 2015
a8e4246
Rollup merge of #30452 - dotdash:24876_take_2, r=alexcrichton
Manishearth Dec 18, 2015
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
Next Next commit
Fix typo
  • Loading branch information
jwworth committed Dec 15, 2015
commit 2a1efca2f332055ff1a68164040afbb9e394edd0
2 changes: 1 addition & 1 deletion src/librustc_trans/trans/adt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ pub fn struct_field_ptr<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, st: &Struct<'tcx>, v

let meta = val.meta;

// Calculate the unaligned offset of the the unsized field.
// Calculate the unaligned offset of the unsized field.
let mut offset = 0;
for &ty in &st.fields[0..ix] {
let llty = type_of::sizing_type_of(ccx, ty);
Expand Down