bors
6b12d361ff
Auto merge of #49882 - Zoxc:sync-misc2, r=michaelwoerister
...
More thread-safety changes
r? @michaelwoerister
2018-04-17 06:46:31 +00:00
John Kåre Alsaker
fe63637350
Use locks for Session.lint_store and Session.buffered_lints
2018-04-16 02:23:55 +02:00
Oliver Schneider
4f6d118048
Don't abort const eval due to long running evals, just warn
2018-04-13 17:56:45 +02:00
John Kåre Alsaker
006f9b2f56
Make Session.injected_panic_runtime thread-safe
2018-04-10 14:40:26 +02:00
John Kåre Alsaker
dacf9ba00f
Make Session.injected_allocator and Session.allocator_kind thread-safe
2018-04-10 14:40:26 +02:00
John Kåre Alsaker
66488a50f9
Make Session.dependency_formats thread-safe
2018-04-10 14:40:26 +02:00
John Kåre Alsaker
cbf8ad4a40
Make Session.crate_types thread-safe
2018-04-10 14:40:26 +02:00
John Kåre Alsaker
046af1c710
Make sure Session.plugin_attributes is only used on one thread
2018-04-10 14:40:26 +02:00
John Kåre Alsaker
0e51d48324
Make sure Session.plugin_llvm_passes is only used on one thread
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
7d33d1a84e
Make Session.has_global_allocator thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
73b26f7f51
Make sure Session.imported_macro_spans is only used on one thread
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
271c8d362a
Make Session.crate_disambiguator thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
8380539ecb
Make sure Session.next_node_id is only used on one thread
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
b0c7bdaa97
Make Session.code_stats thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
904e2b6b35
Make Session::features_untracked thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
a46f05978a
Disable optimization fuel when using multiple threads
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
a23e90a6de
Remove Cell from const_eval_stack_frame_limit and const_eval_step_limit
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
753cd9a12c
Make sure Session.incr_comp_session is only used on one thread
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
e82b6c42b4
Make Session.plugin_registrar_fn and Session.derive_registrar_fn thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
27adb31fcc
Combine Session.entry_fn and Session.entry_type and make them thread-safe
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
7aa7198b4b
Make PerfStats thread-safe and remove unused fields
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
cf3b7909fa
Make recursion_limit and type_length_limit thread-safe
2018-04-10 14:39:57 +02:00
John Kåre Alsaker
49a2b80877
Make sure the lint store is only used on one thread
2018-04-10 14:39:33 +02:00
Philipp Oppermann
3908b2e443
Introduce a TargetTriple enum to support absolute target paths
2018-03-26 18:57:23 +02:00
Kurtis Nusbaum
3c8d555497
rename epoch to edition
2018-03-20 10:27:02 -07:00
Niko Matsakis
211d9ad7db
introduce tcx.normalize_erasing_regions(..)
operaton [VIC]
2018-03-13 11:22:07 -04:00
Niko Matsakis
3a50b41da4
introduce infcx.at(..).normalize(..)
operation [VIC]
...
It is backed by the new `normalize_projection_ty` query, which uses
canonicalization.
2018-03-13 11:22:05 -04:00
Niko Matsakis
993c1488cc
add canonicalize
method to InferCtxt
[VIC]
2018-03-13 11:21:31 -04:00
John Kåre Alsaker
184fd32a03
Move PROFQ_CHAN to a Session field
2018-03-09 08:04:31 +01:00
Manish Goregaokar
4338bd178d
Move epochs to libsyntax
2018-03-08 17:10:03 -08:00
Manish Goregaokar
d7f44ac52c
Rollup merge of #48682 - spastorino:make_causal_lazy, r=nikomatsakis
...
[NLL] Make causal tracking lazy
Close #46590
cc @nikomatsakis
2018-03-08 11:25:56 -08:00
Oliver Schneider
134c2910ec
Const eval will oom together with rustc now
2018-03-08 08:34:18 +01:00
Oliver Schneider
65ed591197
Move the resource limits to the session in preparation for attributes configuring them
2018-03-08 08:34:15 +01:00
Santiago Pastorino
52a47d4c02
Run rustfmt over modified files
2018-03-06 18:03:09 -03:00
Santiago Pastorino
ec761903ec
Remove nll-dump-cause flag and always track causes
2018-03-06 10:34:46 -03:00
Michael Woerister
93625f12e0
Fix some merge fallout.
2018-03-05 11:05:01 +01:00
Michael Woerister
542bc75dea
Turn features() into a query.
2018-03-05 11:05:01 +01:00
Manish Goregaokar
69c53ac904
Run Rustfix on librustc
2018-03-02 21:02:34 -08:00
John Kåre Alsaker
b74e97cf42
Replace Rc with Lrc for shared data
2018-03-02 10:48:52 +01:00
Manish Goregaokar
f57835b7f4
Rollup merge of #48461 - Manishearth:epoch-dyn-trait, r=nmatsakis
...
Fixes #47311 .
r? @nrc
2018-02-28 15:09:29 -08:00
Vadim Petrochenkov
9f9183d34d
Fix rebase
2018-02-26 21:20:31 +03:00
Vadim Petrochenkov
cdbd8c2f2a
Support flag -Z ui-testing
for tweaking diagnostic output for UI tests
2018-02-26 20:24:00 +03:00
Manish Goregaokar
bd29696218
Add ability for hardwired lints to operate on the diagnostic builder
2018-02-23 08:24:49 -08:00
Manish Goregaokar
da9dc0507b
Allow future-incompat lints to mention an epoch
2018-02-23 08:24:07 -08:00
Manish Goregaokar
2cff123416
Add -Zepoch
2018-02-05 22:16:42 -05:00
bors
26792f0607
Auto merge of #47540 - Manishearth:suggestion, r=nrc
...
Add approximate suggestions for rustfix
This adds `span_approximate_suggestion()` that lets you emit a
suggestion marked as "non-machine applicable" in the JSON output. UI
users see no difference. This is for when rustc and clippy wish to
emit suggestions which will make sense to the reader (e.g. they may
have placeholders like `<type>`) but are not source-applicable, so that
rustfix/etc can ignore these.
fixes #39254
2018-02-01 04:47:46 +00:00
Esteban Küber
08287c1e26
Toggle span highlighting on -Zteach
2018-01-29 08:59:15 -08:00
Manish Goregaokar
a53bdc6212
Add -Zapproximate-suggestions
2018-01-29 11:41:02 +05:30
Alex Crichton
6da912e2a1
Merge branch 'explain' of https://github.com/estebank/rust into rollup
2018-01-26 06:50:31 -08:00
Alex Crichton
95942155da
Merge branch 'no-stderr-sink' of https://github.com/Zoxc/rust into rollup
2018-01-26 06:49:55 -08:00