Oliver Scherer
|
d8ece188b8
|
Improve the error around short circuiting and let bindings
|
2018-11-30 09:44:06 +01:00 |
|
Oliver Scherer
|
d62bcad38d
|
Allow let bindings everywhere
|
2018-11-30 09:44:06 +01:00 |
|
Oliver Scherer
|
7ec3c10d7e
|
Add tests for mutable borrows
|
2018-11-30 09:43:41 +01:00 |
|
Oliver Scherer
|
59c6c4942a
|
Also test the const_let feature gate in statics
|
2018-11-30 09:43:41 +01:00 |
|
Oliver Scherer
|
ef38afc83d
|
Add a test for various const let features
|
2018-11-30 09:43:41 +01:00 |
|
Oliver Scherer
|
52b67b1766
|
Remove a bunch of now-unnecessary const_let feature gates
|
2018-11-30 09:43:41 +01:00 |
|
Oliver Scherer
|
dba5ba02f7
|
Update a test's diagnostics
|
2018-11-30 09:43:41 +01:00 |
|
Oliver Scherer
|
4d2bed9460
|
Stabilize const_let inside const functions
|
2018-11-30 09:43:41 +01:00 |
|
Philipp Hansch
|
9b847f0f96
|
Fix const_fn ICE with non-const function pointer
|
2018-11-30 08:43:50 +01:00 |
|
Eduard-Mihai Burtescu
|
dcf736d7ad
|
tests: use alloc instead of libc in unnecessary-extern-crate, to make it work on wasm.
|
2018-11-30 06:15:20 +02:00 |
|
Eduard-Mihai Burtescu
|
3369929ddb
|
tests: use force-host and no-prefer-dynamic in all proc_macro tests.
|
2018-11-30 06:15:20 +02:00 |
|
Eduard-Mihai Burtescu
|
fcca22cb40
|
tests: move all proc_macro tests from -fulldeps.
|
2018-11-30 06:15:20 +02:00 |
|
Alexander Regueiro
|
5f19cdc4f8
|
Changed test for issue 56202 to compile-pass.
|
2018-11-30 03:12:10 +00:00 |
|
Esteban Küber
|
c144dc07e3
|
Fix ICE with feature self_struct_ctor
|
2018-11-30 03:12:10 +00:00 |
|
varkor
|
1cdf5df451
|
Fix error message after rebase
|
2018-11-29 21:00:11 +00:00 |
|
varkor
|
46ef9f820c
|
Fix broken tests
|
2018-11-29 20:58:38 +00:00 |
|
varkor
|
32a8dec889
|
Clarify undecided semantics
|
2018-11-29 20:58:38 +00:00 |
|
varkor
|
d2b340758b
|
Add a test for uninhabitedness changes
|
2018-11-29 20:58:37 +00:00 |
|
Guillaume Gomez
|
3b64f86beb
|
Rollup merge of #56330 - estebank:cleanup-span, r=zackmdavis
Clean up span in non-trailing `..` suggestion
|
2018-11-29 13:10:54 +01:00 |
|
Guillaume Gomez
|
1fe2085441
|
Rollup merge of #56322 - petrochenkov:edlints, r=eddyb
resolve: Fix false-positives from lint `absolute_paths_not_starting_with_crate`
Fixes https://github.com/rust-lang/rust/issues/56311 (stable-to-beta regression)
|
2018-11-29 13:10:53 +01:00 |
|
Guillaume Gomez
|
796892e0ef
|
Rollup merge of #56220 - estebank:suggest-lifetime-move, r=nikomatsakis
Suggest appropriate place for lifetime when declared after type arguments
|
2018-11-29 13:10:39 +01:00 |
|
Guillaume Gomez
|
aebf07e3eb
|
Rollup merge of #56114 - varkor:nonexhaustive-backticks, r=nikomatsakis
Enclose type in backticks for "non-exhaustive patterns" error
This makes the error style consistent with the convention in error messages.
|
2018-11-29 13:10:33 +01:00 |
|
Oliver Scherer
|
8f9a093f52
|
Fix another related ICE
|
2018-11-29 12:58:25 +01:00 |
|
Oliver Scherer
|
28cc3405a8
|
r/\t/ /
|
2018-11-29 10:16:04 +01:00 |
|
Oliver Scherer
|
9c282b44c2
|
Support arbitrary slice constants for pattern deaggregation
|
2018-11-29 10:16:04 +01:00 |
|
Oliver Scherer
|
7df1d9f656
|
Allow constants of byte slice type as patterns
|
2018-11-29 10:16:03 +01:00 |
|
bors
|
5a03532ea9
|
Auto merge of #56245 - mark-i-m:stabilize_ques_kleene, r=alexcrichton
Stabilize feature `macro_at_most_once_rep`
a.k.a. `?` Kleene operator 🎉
cc #48075
r? @Centril
|
2018-11-29 06:44:12 +00:00 |
|
Esteban Küber
|
66a2c39290
|
Clean up span in non-trailing .. suggestion
|
2018-11-28 16:05:02 -08:00 |
|
Vadim Petrochenkov
|
d77edb6458
|
resolve: Fix false-positives from lint absolute_paths_not_starting_with_crate
|
2018-11-28 22:57:25 +03:00 |
|
Mark Mansi
|
5d7717360c
|
fix test
|
2018-11-27 18:21:10 -06:00 |
|
Mark Mansi
|
aeede9eb46
|
fix test
|
2018-11-27 13:13:11 -06:00 |
|
Mark Mansi
|
e97edad935
|
update tests
|
2018-11-27 13:13:11 -06:00 |
|
bors
|
400c2bc5ed
|
Auto merge of #56264 - petrochenkov:typonly, r=nikomatsakis
resolve: Extern prelude is for type namespace only
Fixes https://github.com/rust-lang/rust/issues/56263 (stable-to-beta regression)
|
2018-11-27 19:04:44 +00:00 |
|
bors
|
aeff91d977
|
Auto merge of #56251 - scalexm:root-universe, r=nikomatsakis
Put all existential ty vars in the `ROOT` universe
r? @nikomatsakis
|
2018-11-27 15:54:21 +00:00 |
|
bors
|
10e2c729ea
|
Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakis
Point at end of macro arm when encountering EOF
Fix #52866.
|
2018-11-27 12:31:45 +00:00 |
|
Vadim Petrochenkov
|
cd2e98dbd3
|
resolve: Extern prelude is for type namespace only
|
2018-11-27 14:35:36 +03:00 |
|
Vadim Petrochenkov
|
6f13708299
|
resolve: Suggest crate:: for resolving ambiguities when appropriate
More precise spans for ambiguities from macros
|
2018-11-27 00:34:25 +03:00 |
|
Vadim Petrochenkov
|
d1862b4196
|
resolve: Fallback to extern prelude in 2015 imports used from global 2018 edition
|
2018-11-27 00:34:24 +03:00 |
|
Vadim Petrochenkov
|
c06e69ee70
|
resolve: Fallback to uniform paths in 2015 imports used from global 2018 edition
|
2018-11-27 00:32:34 +03:00 |
|
Vadim Petrochenkov
|
dae4c7b1ff
|
resolve: Implement edition hygiene for imports and absolute paths
Use per-span hygiene in a few other places in resolve
Prefer `rust_2015`/`rust_2018` helpers to comparing editions
|
2018-11-27 00:32:30 +03:00 |
|
Vadim Petrochenkov
|
fba116fc5f
|
Remove duplicate tests for uniform paths
|
2018-11-27 00:30:50 +03:00 |
|
scalexm
|
efb2949b93
|
Put all existential ty vars in the ROOT universe
|
2018-11-26 20:37:43 +01:00 |
|
Esteban Küber
|
45dfe43887
|
Emit one diagnostic for multiple misplaced lifetimes
|
2018-11-26 08:32:47 -08:00 |
|
bors
|
b51632e3f0
|
Auto merge of #56070 - oli-obk:const_let, r=eddyb
Allow assignments in const contexts
fixes https://github.com/rust-lang/rust/issues/54098
fixes https://github.com/rust-lang/rust/issues/51251
fixes https://github.com/rust-lang/rust/issues/52613
|
2018-11-26 08:17:36 +00:00 |
|
Esteban Küber
|
234d043d18
|
Move lifetimes before the *first* type argument
|
2018-11-25 12:51:04 -08:00 |
|
Esteban Küber
|
79ee8f329d
|
Suggest appropriate place for lifetime when declared after type arguments
|
2018-11-25 12:41:38 -08:00 |
|
Pietro Albini
|
cd17b1d4b6
|
Rollup merge of #56211 - petrochenkov:fwd, r=petrochenkov
[master] Forward-ports from beta
https://github.com/rust-lang/rust/pull/56206 + one commit from https://github.com/rust-lang/rust/pull/55884 that was accidentally missing in https://github.com/rust-lang/rust/pull/56042 due to an off-by-one mistake in commit ranges
r? @ghost
|
2018-11-25 17:05:12 +01:00 |
|
Pietro Albini
|
d21d510dde
|
Rollup merge of #56207 - SimonSapin:int_to_from_bytes, r=nagisa
Stabilize the int_to_from_bytes feature
Fixes #52963
FCP to merge completed: https://github.com/rust-lang/rust/issues/52963#issuecomment-416548327
|
2018-11-25 17:05:10 +01:00 |
|
Pietro Albini
|
dcae83b6a3
|
Rollup merge of #56204 - estebank:suggest-variant, r=zackmdavis
Suggest correct enum variant on typo
Fix #37992.
|
2018-11-25 17:05:09 +01:00 |
|
Pietro Albini
|
b16d8eb3f2
|
Rollup merge of #56072 - da-x:stabilize-literal-matcher, r=petrochenkov
Stabilize macro_literal_matcher
This followed FCP in #35625.
Closes #35625
|
2018-11-25 17:05:00 +01:00 |
|