Keith Yeung
3c4ecc9e7c
Display secondary span for E0053 for Sort TypeErrors
2016-08-17 15:12:51 -07:00
Jonathan Turner
54d42cc912
Rebase. Fix mutable iteration nit.
2016-08-17 15:11:18 -07:00
crypto-universe
de5aaee0c5
Updated test for E0221
...
As a part of issue #35233
?r @GuillaumeGomez
2016-08-18 00:07:24 +02:00
Guillaume Gomez
8d78237701
Add new error code tests
2016-08-17 23:45:10 +02:00
Simonas Kazlauskas
2c3250adfa
Nice graphs
2016-08-18 00:41:56 +03:00
Jonathan Turner
61865384b8
Replace local backtrace with def-use, repair std macro spans
2016-08-17 14:26:14 -07:00
Jonathan Turner
d0a272b797
Fix merge conflict
2016-08-17 14:26:05 -07:00
Brian Anderson
ab6ca7e98f
Upgrade bootstrap compiler to 1.12
2016-08-17 13:55:01 -07:00
Niko Matsakis
37d974f353
remove seemingly unnecessary call to encode_predicates
2016-08-17 15:21:59 -04:00
Niko Matsakis
6b33f47514
remove usize: DepGraphRead
and add Untracked
...
The idea is that a `usize` is sort of ambiguous: in this case, it
represents indices that do not need tracking, but it could as easily be
some data read out from a tracked location, and hence represent tracked
data. Therefore, we add an `Untracked` type that lets user assert
that value is not tracked.
Also correct various typos.
2016-08-17 15:21:59 -04:00
Niko Matsakis
9daea5b639
Add a comment, remove Deref/DerefMut
...
The comment explains the `index-builder` pattern. We no longer need the
`Deref/DerefMut` relationship, and it seems nicer without it.
2016-08-17 15:21:59 -04:00
Niko Matsakis
1a91e67614
pacify the mercilous tidy
2016-08-17 15:21:59 -04:00
Niko Matsakis
f3990feb2e
create a trait to ensure that data is tracked
...
Also write a comment explaining the system.
2016-08-17 15:21:58 -04:00
Niko Matsakis
00e699faf3
change callback for expr/type to a fn pointer
...
The idea is that, this way, we can cleanly isolate ALL state that is
being passed, since it goes as an argument to the fn pointer.
2016-08-17 15:21:45 -04:00
Niko Matsakis
c0c8ab9cd2
extract two more record calls
2016-08-17 15:21:45 -04:00
Niko Matsakis
8c4a224589
extract encode_info_for_trait_item into method
2016-08-17 15:21:45 -04:00
Niko Matsakis
8dc8151b49
pull out call to record
for impl items
2016-08-17 15:21:44 -04:00
Simonas Kazlauskas
2d366428cc
Properly invalidate the early exit cache
...
Fixes #35737
2016-08-17 21:09:30 +03:00
crypto-universe
2179defa04
New output for E0407
...
Issue #35697 as a part of #35233 .
r? @jonathandturner
2016-08-17 19:59:22 +02:00
Chris Stankus
6a1efbd08e
Merge branch 'master' into E0403-update-error-format
2016-08-17 12:31:20 -05:00
Jacob
d01bfb122e
Remove trailing white space
2016-08-17 10:21:15 -07:00
Guillaume Gomez
feeed0b51b
Fixes issue #11004
2016-08-17 19:12:37 +02:00
bors
7ac11cad3f
Auto merge of #35747 - jonathandturner:rollup, r=jonathandturner
...
Rollup of 23 pull requests
- Successful merges: #34370 , #35415 , #35595 , #35610 , #35613 , #35614 , #35621 , #35660 , #35663 , #35670 , #35671 , #35672 , #35681 , #35686 , #35690 , #35695 , #35707 , #35708 , #35713 , #35722 , #35725 , #35726 , #35731
- Failed merges: #35395
2016-08-17 09:49:34 -07:00
Niko Matsakis
9afcd77246
don't pass extra state fo encode_struct_ctor
2016-08-17 10:38:49 -04:00
Niko Matsakis
c716ad8af5
pull out encode_field
2016-08-17 10:38:49 -04:00
Niko Matsakis
f35196326d
pull out code for encoding enum variants
2016-08-17 10:38:49 -04:00
Niko Matsakis
5166682583
pull out the record call for encode_info_for_item
2016-08-17 10:38:48 -04:00
Amanieu d'Antras
ee1fc38c2a
Add a test to check that AtomicBool has the proper representation
2016-08-17 15:34:43 +01:00
Niko Matsakis
6277b1fef6
separate main items from addl items in metadata
2016-08-17 10:25:01 -04:00
Niko Matsakis
d49e1a9191
move rbml_w into the self struct
2016-08-17 10:25:01 -04:00
Simon Sapin
12a159abea
Add 'make help' for rustbuild
...
It is still advertised by the configure script.
2016-08-17 16:23:11 +02:00
Michael Woerister
6aca068aba
Make version check in gdb_rust_pretty_printing.py more compatible.
...
Some versions of Python don't support the `major` field on the
object returned by `sys.version_info`.
2016-08-17 09:55:27 -04:00
bors
76fa5875c6
Auto merge of #35733 - apasel422:issue-35721, r=alexcrichton
...
Make `vec::IntoIter` covariant again
Closes #35721
r? @alexcrichton
2016-08-17 06:25:56 -07:00
Jonathan Turner
c216617cf2
Rollup merge of #35731 - pythoneer:fix-35192, r=jonathandturner
...
Update E0005 to use a label
Fixes #35192 as Part of #35233
r? @jonathandturner
2016-08-17 06:25:28 -07:00
Jonathan Turner
fbc62afba6
Rollup merge of #35726 - mikhail-m1:master2, r=jonathandturner
...
update E0409 to new error format
fixes #35699 as part of #35233 .
r? @jonathandturner
2016-08-17 06:25:28 -07:00
Jonathan Turner
e20a7e3418
Rollup merge of #35725 - brson:bump, r=alexcrichton
...
Bump version to 1.13
2016-08-17 06:25:27 -07:00
Jonathan Turner
5fc58dcaff
Rollup merge of #35722 - knight42:update-error-msg, r=jonathandturner
...
Updated E0394 & E0422 to new format
Fixes #35692 and #35700 , as part of #35233 .
r? @jonathandturner
2016-08-17 06:25:27 -07:00
Jonathan Turner
75454f72a3
Rollup merge of #35713 - sanxiyn:ui-test, r=nikomatsakis
...
Use UI test to test spans, instead of forced line break
There must be lots more, but these are what I could easily find.
2016-08-17 06:25:27 -07:00
Jonathan Turner
6193b1f43e
Rollup merge of #35708 - sanxiyn:new-error-format, r=nikomatsakis
...
RUST_NEW_ERROR_FORMAT is no more
So stop setting the environment variable.
2016-08-17 06:25:27 -07:00
Jonathan Turner
3dd060f065
Rollup merge of #35707 - frewsxcv:vec-into-iter-debug, r=alexcrichton
...
Implement `Debug` for `std::vec::IntoIter`.
Display all the remaining items of the iterator, similar to the `Debug`
implementation for `core::slice::Iter`:
f0bab98695/src/libcore/slice.rs (L930-L937)
Using the `as_slice` method that was added in:
https://github.com/rust-lang/rust/pull/35447
2016-08-17 06:25:26 -07:00
Jonathan Turner
c1e9ea0b2d
Rollup merge of #35695 - matthew-piziak:vec-assert-over-println, r=GuillaumeGomez
...
accumulate into vector and assert, instead of printing
I'm only making this change in one place so that people can express
their preferences for this stylistic change. If/when this change is
approved I'll go ahead and translate the rest of the `std::ops`
examples.
2016-08-17 06:25:26 -07:00
Jonathan Turner
49a2873cfc
Rollup merge of #35690 - matthew-piziak:op-overloading-limited, r=steveklabnik
...
expound on limitations of Rust's trait-based operator overloading
Part of #29330
2016-08-17 06:25:26 -07:00
Jonathan Turner
f0f12d9fb1
Rollup merge of #35686 - mikhail-m1:master, r=jonathandturner
...
update E0375 to new format
fixes #35635 as part of #35233 .
r? @jonathandturner
2016-08-17 06:25:26 -07:00
Jonathan Turner
eb91d33a14
Rollup merge of #35681 - Rufflewind:patch-1, r=apasel422
...
Fix spacing in code of closures.md
The spacing seems inconsistent with existing style conventions.
2016-08-17 06:25:26 -07:00
Jonathan Turner
eac17f1ee8
Rollup merge of #35672 - yossi-k:issue/35323, r=GuillaumeGomez
...
Update E0322 to new format
Fixes #35323 . Part of #35233 .
r? @GuillaumeGomez
2016-08-17 06:25:25 -07:00
Jonathan Turner
8ff8f77b77
Rollup merge of #35671 - canaltinova:E0392, r=jonathandturner
...
Update E0392 to new error format
Fixes #35631 . Part of #35233
r? @jonathandturner or @GuillaumeGomez
2016-08-17 06:25:25 -07:00
Jonathan Turner
02a8e2c285
Rollup merge of #35670 - RockyTV:e0365, r=jonathandturner
...
Update error E0365 to new format
Fixes #35633 as part of #35233 .
r? @jonathandturner
2016-08-17 06:25:25 -07:00
Jonathan Turner
ea09b7d8c6
Rollup merge of #35663 - CryZe:no-stdlib, r=Manishearth
...
Improve `No stdlib` and related Documentation
This renames all lang item function names to the ones used in `libstd` and `libpanic_unwind`. It also explains the `eh_unwind_resume` lang item in the `libcore` documentation, where it was missing. A third function is also needed on certain compilation targets, so this was also added to the `No stdlib` documentation.
2016-08-17 06:25:25 -07:00
Jonathan Turner
a9e3cffde1
Rollup merge of #35660 - terrynsun:e0207, r=jonathandturner
...
Update E0207 label to report parameter type
Fixes #35642 .
r? @jonathandturner (Is this okay? I tagged you since it's a simple error fix similar to the other update ones.)
2016-08-17 06:25:24 -07:00
Jonathan Turner
b444ac69c0
Rollup merge of #35621 - frewsxcv:cstring-from-vec-doc, r=peschkaj
...
Add doc example for `std::ffi::CString::from_vec_unchecked`.
None
2016-08-17 06:25:24 -07:00