Marcello Seri
5b8335ede4
fixups
2015-10-13 15:12:34 +01:00
Marcello Seri
1bdf4ad8dc
rustfmt libfmt_macros
2015-10-13 15:10:51 +01:00
Vadim Petrochenkov
03468330bd
Some additional tests
2015-10-13 17:00:47 +03:00
Andrew Paseltiner
1162b3752c
Correct spelling in docs
2015-10-13 09:44:11 -04:00
Vadim Petrochenkov
607b8c3892
Comment on the purpose(s) of NodeId in VariantData
2015-10-13 16:18:33 +03:00
Vadim Petrochenkov
46750d0409
Merge VariantData and VariantData_
2015-10-13 15:19:27 +03:00
Vadim Petrochenkov
a5225cbe92
Fix rebase 2
2015-10-13 15:19:26 +03:00
Vadim Petrochenkov
40aa09e4c9
Merge struct fields and struct kind
2015-10-13 15:19:25 +03:00
Vadim Petrochenkov
30af54dede
Dict -> Struct, StructDef -> VariantData, def -> data
2015-10-13 15:19:24 +03:00
Vadim Petrochenkov
f4e3851aa7
Fix rebase
2015-10-13 15:19:22 +03:00
Vadim Petrochenkov
b404ded15b
Fix failing privacy test
2015-10-13 15:19:21 +03:00
Vadim Petrochenkov
8a12c19171
Test and gate empty structures and variants better
2015-10-13 15:19:20 +03:00
Vadim Petrochenkov
beda1f88a7
Provide span for visit_struct_def + remove some dead code
2015-10-13 15:19:19 +03:00
Vadim Petrochenkov
877c35e8a2
Remove now redundant NodeId from Variant
2015-10-13 15:19:18 +03:00
Vadim Petrochenkov
495566ee61
Decouple structure kinds from NodeIds
2015-10-13 15:19:17 +03:00
Vadim Petrochenkov
2314ab29c2
Unify structures and enum variants in HIR
2015-10-13 15:19:16 +03:00
Vadim Petrochenkov
ea47c2b6b3
Unify structures and enum variants in AST
2015-10-13 15:19:15 +03:00
Ben S
b40163beb9
Make the Metadata struct Clone
...
This commit adds #[derive(Clone)] to std::fs::Metadata, making that struct
cloneable. Although the exact contents of that struct differ between OSes,
they all have it contain only value types, meaning that the data can be re-used without repercussions.
It also adds #[derive(Clone)] to every type used by that struct across all
OSes, including the various Unix `stat` structs and Windows's
`WIN32_FILE_ATTRIBUTE_DATA`.
2015-10-13 13:06:00 +01:00
Jose Narvaez
82ec34332f
Rustfmt-ing libarena.
2015-10-13 10:53:57 +01:00
Jose Narvaez
94946db60d
Manually alligned comments.
2015-10-13 10:46:41 +01:00
Jose Narvaez
5943af31e7
Re-running updated rustfmt on liblog.
2015-10-13 10:44:09 +01:00
Jose Narvaez
3db5012680
rustfmt suggested changes.
2015-10-13 10:36:53 +01:00
Guillaume Gomez
35f8184f7d
Update test error compilation message for E0512
2015-10-13 10:26:45 +02:00
Florian Hahn
b21ae1ab1a
Reword note about missing trait implementation
2015-10-13 09:59:46 +02:00
Scott Olson
0d3d6e40fd
Fix typo in custom allocator docs.
2015-10-13 01:23:42 -06:00
Yoshito Komatsu
6ee31347b3
Fix some typos
2015-10-13 15:59:59 +09:00
Seo Sanghyeon
22dc408217
Avoid using getDataLayout, deprecated in LLVM 3.7
2015-10-13 15:11:59 +09:00
David Ripton
07e0161106
Typo fix
2015-10-12 23:24:27 -04:00
bors
ec4362da56
Auto merge of #28993 - frewsxcv:regression-test-17336, r=alexcrichton
...
Closes #17336
2015-10-13 03:19:11 +00:00
Vadim Petrochenkov
ab671552c3
Refactor attr::Stability
...
Stricter checking + enforcement of invariants at compile time
2015-10-13 06:01:31 +03:00
Chris C Cerami
42e0b8bc7e
Fix Lifetime Elision link in lifetimes.md
2015-10-12 22:24:51 -04:00
bors
60c18c8f34
Auto merge of #28987 - ahmedcharles:liballoc, r=brson
2015-10-13 00:37:09 +00:00
Dan W.
6406dcb2c4
typo
2015-10-12 15:29:20 -07:00
Peter Marheine
039f0f4e7e
win64/msvc: large or oddly-sized types pass by-ref
2015-10-12 16:23:47 -06:00
Ariel Ben-Yehuda
ed2a11da89
require a method callee's type to outlive the call
...
This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.
However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.
This also improves rustc::front to get RUST_LOG to *somewhat* work.
Fixes #28999
2015-10-12 23:51:59 +03:00
bors
5c7dbf6c0e
Auto merge of #28986 - ahmedcharles:error-index-generator, r=brson
2015-10-12 20:16:24 +00:00
Corey Farwell
987560a16a
Add regression test for #22814
...
Closes #22814
2015-10-12 15:40:47 -04:00
Ariel Ben-Yehuda
bee664f9d0
normalize the types of foreign functions
...
This is needed as item types are allowed to be unnormalized.
Fixes an ICE that occurs when foreign function signatures contained
an associated type.
Fixes #28983
2015-10-12 21:54:48 +03:00
Fabiano Beselga
086f6b803f
Fix docs about borrowing and lifetimes
2015-10-12 13:58:21 -03:00
Corey Farwell
d98195b40c
Add regression test for #17336
...
Closes #17336
2015-10-12 09:44:26 -04:00
bors
8aa621a996
Auto merge of #28914 - steveklabnik:doc_iterator, r=alexcrichton
...
This replaces what was there with a comprehensive overview.
Thanks to @hoverbear for suggesting that these docs needed improvement.
2015-10-12 13:40:46 +00:00
Steve Klabnik
1fbf8bb664
Write better module-level docs for std::iter
...
This replaces what was there with a comprehensive overview.
2015-10-12 09:40:48 -04:00
Peter Marheine
7db4163ffd
Don't use a Vec in os::current_exe on FreeBSD.
2015-10-12 10:37:28 +00:00
bors
843e528fd0
Auto merge of #28985 - ahmedcharles:driver, r=nrc
2015-10-12 08:11:40 +00:00
Florian Hahn
c154782435
Add notes for all potentially missing std::ops traits
2015-10-12 10:03:31 +02:00
Ahmed Charles
f65dbb1dc4
Run rustfmt on error-index-generator.
2015-10-11 23:44:32 -07:00
Ahmed Charles
e49a9561dc
Run rustfmt on driver.
2015-10-11 23:41:43 -07:00
Ahmed Charles
6fb4cb6cd3
Run rustfmt on liballoc_system.
2015-10-11 23:35:08 -07:00
Ahmed Charles
5ea1f9ffed
Run rustfmt on liballoc_jemalloc.
2015-10-11 22:18:51 -07:00
Ahmed Charles
5dcd406188
Run rustfmt on liballoc.
2015-10-11 22:11:59 -07:00