Oliver Scherer
1b636b1cd9
Newlines.... newlines everywhere
2018-12-04 10:06:05 +01:00
Oliver Scherer
296398ab52
Add a test ensuring that we don't regress this
2018-12-04 10:06:05 +01:00
Oliver Scherer
61efc3b71b
Update tests
2018-12-04 10:06:05 +01:00
Oliver Scherer
2664aadaa2
Report failing tests without //~ ERROR
comments
2018-12-04 10:05:27 +01:00
bors
596e10fd32
Auto merge of #55707 - GuillaumeGomez:file-sidebar, r=QuietMisdreavus
...
Add source file sidebar
This is just a start currently but that gives a good overview of what it'll look like:
<img width="1440" alt="screenshot 2018-11-06 at 01 39 15" src="https://user-images.githubusercontent.com/3050060/48035592-05336180-e165-11e8-82e1-5ead0c345eb9.png ">
r? @QuietMisdreavus
2018-12-04 07:00:19 +00:00
Shotaro Yamada
bc7c3dc71d
sort_by_cached_key -> sort_by
2018-12-04 15:38:48 +09:00
Shotaro Yamada
65aa0a6249
Remove redundant clone
2018-12-04 15:38:40 +09:00
bors
91d5d56c00
Auto merge of #55682 - GuillaumeGomez:primitive-sidebar-link-gen, r=QuietMisdreavus
...
Fixes primitive sidebar link generation
Fixes #50746 .
Fixes #55656 .
r? @QuietMisdreavus
2018-12-04 03:34:32 +00:00
bors
5912a690e0
Auto merge of #56467 - oli-obk:osx_stack_bump, r=nagisa
...
Bump stack size to 32MB
cc https://github.com/rust-lang/rust/issues/55471
A short term solution (really this time! Full fix being grown in https://github.com/rust-lang/rust/pull/55617 ) for stack overflows due to deeply recursive syntax trees.
r? @nagisa
cc @alexcrichton @eddyb @michaelwoerister @pietroalbini
2018-12-04 01:03:17 +00:00
Shotaro Yamada
4e3128223b
Fix test
2018-12-04 09:28:14 +09:00
Shotaro Yamada
11af6f66cb
Use iterator and pattern APIs instead of char_at
2018-12-04 09:27:24 +09:00
Matthew Jasper
d748712521
Propagate all closure requirements to the caller
2018-12-03 23:17:02 +00:00
bors
c8ae2de836
Auto merge of #55041 - evq:thumbv8m, r=alexcrichton
...
targets: thumbv8m: Add target for baseline ARMv8-M
Tested against a SAM L11 MCU.
2018-12-03 22:38:18 +00:00
Vadim Petrochenkov
d08f7dcdca
Address review comments
2018-12-04 01:13:03 +03:00
Guillaume Gomez
3f253f5394
Improve filter test
2018-12-03 23:05:09 +01:00
Guillaume Gomez
82a7b6fde8
Don't generate suffix for source-file.js
2018-12-03 22:37:34 +01:00
Vadim Petrochenkov
d415844f5e
syntax: Remove #[non_exhaustive]
from Edition
...
`Edition` is not a public API, we want users to break when a new edition is added
2018-12-04 00:30:27 +03:00
Vadim Petrochenkov
08f8faedd0
syntax: Rename some keywords
...
`CrateRoot` -> `PathRoot`, `::` doesn't necessarily mean crate root now
`SelfValue` -> `SelfLower`, `SelfType` -> `SelfUpper`, both `self` and `Self` can be used in type and value namespaces now
2018-12-04 00:30:27 +03:00
Vadim Petrochenkov
101467c152
syntax: dyn
is a used keyword now
2018-12-04 00:30:27 +03:00
Mark Mansi
0b40be696e
link to raw identifiers
2018-12-03 13:05:04 -06:00
Mark Mansi
9c8802dc01
Explain raw identifer syntax
2018-12-03 13:05:04 -06:00
Oliver Scherer
db64f60b1d
Bump stack size to 32MB
2018-12-03 17:38:04 +01:00
ljedrz
651373c13d
data_structures: remove tuple_slice
2018-12-03 17:33:06 +01:00
bors
0c999ed132
Auto merge of #56451 - kennytm:rollup, r=kennytm
...
Rollup of 13 pull requests
Successful merges:
- #56141 ([std] Osstr len clarity)
- #56366 (Stabilize self_in_typedefs feature)
- #56395 (Stabilize dbg!(...))
- #56401 (Move VecDeque::resize_with out of the impl<T:Clone> block)
- #56402 (Improve the unstable book example for #[marker] trait)
- #56412 (Update tracking issue for `extern_crate_self`)
- #56416 (Remove unneeded body class selector)
- #56418 (Fix failing tidy (line endings on Windows))
- #56419 (Remove some uses of try!)
- #56432 (Update issue number of `shrink_to` methods to point the tracking issue)
- #56433 (Add description about `crate` for parse_visibility's comment)
- #56435 (make the C part of compiler-builtins opt-out)
- #56438 (Remove not used `DotEq` token)
Failed merges:
r? @ghost
2018-12-03 15:44:43 +00:00
Eric Huss
46c88b9502
Update rls
2018-12-03 06:04:48 -08:00
Eric Huss
9dfc98ff17
Run x86_64-gnu-tools job for "update cargo" PRs since cargo can break RLS.
2018-12-03 06:04:48 -08:00
Eric Huss
8c20adddbc
Update cargo
2018-12-03 06:04:48 -08:00
Oliver Scherer
1fb82b5a03
Handle existential types in dead code analysis
2018-12-03 14:44:58 +01:00
Ralf Jung
e6c8e9dc79
update miri
2018-12-03 13:02:02 +01:00
Ralf Jung
ef2b18a873
fix recently added Retag statement
2018-12-03 13:02:02 +01:00
Ralf Jung
005df5fe03
provide a way to replace the tag in a Scalar/MemPlace
2018-12-03 13:02:02 +01:00
Ralf Jung
d2c19e0bcc
Retag needs to know whether this is a 2-phase-reborrow
2018-12-03 13:02:02 +01:00
bors
9cd3bef4cf
Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister
...
Add template parameter debuginfo to generic types
This changes debuginfo generation to add template parameters to
generic types. With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:
<2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
<40e> DW_AT_name : (indirect string, offset: 0x375): Generic<i32>
<412> DW_AT_byte_size : 4
<413> DW_AT_alignment : 4
...
<3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
<420> DW_AT_type : <0x42a>
<424> DW_AT_name : (indirect string, offset: 0xa65e): T
Closes #9224
2018-12-03 11:59:11 +00:00
kennytm
ac363d8793
Rollup merge of #56438 - yui-knk:remove_not_used_DotEq_token, r=petrochenkov
...
Remove not used `DotEq` token
Currently libproc_macro does not use `DotEq` token.
https://github.com/rust-lang/rust/pull/49545 changed libproc_macro
to not generate `DotEq` token.
2018-12-03 18:07:20 +08:00
kennytm
21433f2812
Rollup merge of #56435 - RalfJung:libstd-without-c, r=alexcrichton
...
make the C part of compiler-builtins opt-out
I'd like to be able to use Xargo to build a libstd without having a full C toolchain for the target. This is a start (but the fact that libstd is a dylib is still a problem).
However, compiler_builtin already has somewhat similar logic to not require a C compiler for wasm:
fe74674f6e/build.rs (L36-L41)
(WTF GitHub, why doesn't this show an embedded code preview??)
I wonder if there is a way to not have two separate mechanisms? Like, move the above wasm logic to some place that controls the libstd feature, or so? Or is it okay to have these two mechanisms co-exist?
Cc @alexcrichton
2018-12-03 18:07:19 +08:00
kennytm
a498a6d198
Rollup merge of #56433 - yui-knk:update_comment_of_parse_visibility, r=petrochenkov
...
Add description about `crate` for parse_visibility's comment
This rule was introduced by https://github.com/rust-lang/rust/pull/45401 .
2018-12-03 18:07:18 +08:00
kennytm
52a4fc8130
Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril
...
Update issue number of `shrink_to` methods to point the tracking issue
Tracking issue: #56431
2018-12-03 18:07:16 +08:00
kennytm
ca98bce303
Rollup merge of #56419 - mark-i-m:remove-try, r=Centril
...
Remove some uses of try!
2018-12-03 18:07:15 +08:00
kennytm
71d76bec1e
Rollup merge of #56418 - petrochenkov:wintidy, r=nagisa
...
Fix failing tidy (line endings on Windows)
Updates to `rustc-guide` and `edition-guide` including https://github.com/rust-lang/rustc-guide/pull/246 and https://github.com/rust-lang-nursery/edition-guide/pull/122 .
2018-12-03 18:07:14 +08:00
kennytm
17f6fc78c5
Rollup merge of #56416 - GuillaumeGomez:css-body, r=QuietMisdreavus
...
Remove unneeded body class selector
r? @QuietMisdreavus
2018-12-03 18:07:13 +08:00
kennytm
81752fd85d
Rollup merge of #56412 - petrochenkov:extself, r=Centril
...
Update tracking issue for `extern_crate_self`
2018-12-03 18:07:11 +08:00
kennytm
65e67025c8
Rollup merge of #56402 - scottmcm:better-marker-trait-example, r=Centril
...
Improve the unstable book example for #[marker] trait
The previous one didn't actually use the Display&Debug bounds in any way, so I think this one is a bit more meaningful.
2018-12-03 18:07:10 +08:00
kennytm
2cbcd36ca9
Rollup merge of #56401 - scottmcm:vecdeque-resize-with, r=dtolnay
...
Move VecDeque::resize_with out of the impl<T:Clone> block
I put this in the wrong `impl` block in https://github.com/rust-lang/rust/pull/56016 , so fixing.
Tracking issue for the unstable method: https://github.com/rust-lang/rust/issues/41758#issuecomment-443077953
2018-12-03 18:07:09 +08:00
kennytm
441aaf8110
Rollup merge of #56395 - Centril:stabilize-dbg-macro, r=SimonSapin
...
Stabilize dbg!(...)
Per FCP in https://github.com/rust-lang/rust/issues/54306 (which is ~1 day from completion).
r? @SimonSapin
The PR is fairly isolated so a rollup should probably work.
2018-12-03 18:07:08 +08:00
kennytm
bf96a7bbed
Rollup merge of #56366 - alexreg:stabilise-self_in_typedefs, r=Centril
...
Stabilize self_in_typedefs feature
[**Tracking Issue**](https://github.com/rust-lang/rust/issues/49303 )
r? @centril
2018-12-03 18:07:07 +08:00
kennytm
e9a805522c
Rollup merge of #56141 - jnqnfe:osstr_len_clarity, r=nagisa
...
[std] Osstr len clarity
2018-12-03 18:07:06 +08:00
Thomas de Zeeuw
38e21f92f1
Fix link in Weak::new
2018-12-03 10:49:33 +01:00
Thomas de Zeeuw
d4b41fa031
Add sync::Weak::ptr_eq
2018-12-03 10:49:33 +01:00
Thomas de Zeeuw
380dd7d47b
Add rc::Weak.ptr_eq
2018-12-03 10:49:27 +01:00
bors
7139e1c3ab
Auto merge of #56305 - RalfJung:miri, r=oli-obk
...
update miri
This should make miri green again :)
(Includes https://github.com/solson/miri/pull/553 )
r? @oli-obk
2018-12-03 09:36:10 +00:00