Commit Graph

83093 Commits

Author SHA1 Message Date
bors
caed80ba4b Auto merge of #53629 - nnethercote:lazier-SparseBitMatrix, r=nikomatsakis
Lazier sparse bit matrix

A small NLL win.

r? @nikomatsakis
2018-08-26 09:41:28 +00:00
Jorge Aparicio
521df797d5 add the other two targets to the manifest 2018-08-26 11:27:05 +02:00
Jorge Aparicio
264c47a2aa remove no longer needed Docker images 2018-08-26 11:27:05 +02:00
Jorge Aparicio
e2e72cc3ef fix docker build for the armebv7r-none-eabi target 2018-08-26 11:27:05 +02:00
Jorge Aparicio
a597b6a45c more consistent llvm triples 2018-08-26 11:27:05 +02:00
Jorge Aparicio
c9d8e28b8c add armebv7r-none-eabi target 2018-08-26 11:27:05 +02:00
Jorge Aparicio
84fa5d8037 build rust-std components for the Cortex-R targets 2018-08-26 11:27:05 +02:00
Jorge Aparicio
3537d7b54c set a default linker for the other Cortex-R targets 2018-08-26 11:27:05 +02:00
Jorge Aparicio
2c3a693dfa make the armebv7r target more consistent with the armv7r one
by removing the redundant +v7 feature
2018-08-26 11:27:05 +02:00
Jorge Aparicio
63d94905fa add armv7r-none-eabi target 2018-08-26 11:27:05 +02:00
Paolo Teti
7c1723c012 Add target for Little-endian ARM Cortex-R4F/R5F MCUs
Similar to `armebv7r-none-eabihf`, but for Little-endian MCUs.

As example TI RM4x/RM5x are Little-endian Cortex-R4F/R5F MCUs.

CI/Dockerfile is intentionally in the disabled folder.
2018-08-26 11:27:05 +02:00
bors
ede5551843 Auto merge of #53623 - cramertj:libc-update, r=alexcrichton
Update libc to include Fuchsia fixes

cc https://github.com/rust-lang/libc/pull/1067, @sulanov

r? @alexcrichton
2018-08-26 07:34:13 +00:00
Joseph Post
1f421d6456 call span_suggestion with applicability 2018-08-25 23:28:26 -05:00
bors
691638582a Auto merge of #53619 - japaric:panic-handler, r=SimonSapin
add #[panic_handler]; deprecate #[panic_implementation]

r? @SimonSapin
cc #44489
2018-08-26 04:02:19 +00:00
bors
36f14b95a2 Auto merge of #53567 - alexcrichton:update-cargo, r=Mark-Simulacrum
Update Cargo submodule

Also update Cargo's dependencies while we're at it
2018-08-26 00:58:07 +00:00
Alex Crichton
2863b75425 Update Cargo submodule
Also update Cargo's dependencies while we're at it
2018-08-25 16:26:28 -07:00
bors
f272688bbb Auto merge of #53612 - mark-i-m:anon_param_disallowed_2018, r=petrochenkov
Remove anonymous trait params from 2018 and beyond

cc @Centril @nikomatsakis
cc #41686 rust-lang/rfcs#2522 #53272

This PR removes support for anonymous trait parameters syntactically in rust 2018 and onward.

TODO:
- [x] Add tests
2018-08-25 22:50:12 +00:00
Pietro Albini
dc03139e66
Include missing tools in the manifest and mark them as unavailable 2018-08-25 23:38:18 +02:00
Eric Huss
1c888d51f9 rustdoc: Fix gap on section anchor symbol when hovering.
Fixes #49485 for section headings.
2018-08-25 14:15:49 -07:00
bors
39e6ba8218 Auto merge of #53701 - Xanewok:update-rls, r=kennytm
Update RLS

Continuation of https://github.com/rust-lang/rust/pull/53610.
Workspaces are tricky - the `json_internal` problem was only reproducible in Rust CI (not sure why it was only relevant to Windows?) and it seems that this was fixed by updating serde_json workspace-wide.

Tested locally in Rust repo and it seems to be working.

Nightlies are currently shipping without RLS, so it'd be great to include this in the next nightlies if possible.
2018-08-25 19:30:10 +00:00
Igor Matuszewski
3a17cf7f8f Bump serde_json 1.0.24 -> 1.0.25
This fixes 'cannot find macro `json_internal!` in this scope' RLS
compilation error in Rust CI, presumably due to a local macro fix in
serde_json 1.0.25
(e40cbad70b)
2018-08-25 19:44:15 +02:00
Jakub Kozlowski
9395a02b5a Fix stabilisation version for macro_vis_matcher. 2018-08-25 17:49:45 +01:00
Igor Matuszewski
f67c776d40 Update RLS 2018-08-25 18:08:00 +02:00
Oliver Schneider
2d2b69d499 Satisfy tidy 2018-08-25 15:54:09 +02:00
Oliver Schneider
dba1c717ba Check cross crate stability of const fn 2018-08-25 15:31:24 +02:00
bors
545f22340f Auto merge of #53584 - mcr431:Fix-#53525, r=varkor
Fix #53525  - Unify E0243, E0244, E0087, E0088, E0089, and E0090 into E0107

Fix #53525

This pr merges all errors related to too many or too few generic arguments in types and functions. E0243, E0244, E0087, E0088, E0089, E0090 errors will no longer be emitted and E0107 will be used instead.
2018-08-25 13:00:20 +00:00
Oliver Schneider
458f5a21e2 Properly prevent the promotion of unstable const fns 2018-08-25 14:58:39 +02:00
Matthew Jasper
9309e2ef07 Use smaller span for adjustments on block expressions 2018-08-25 12:13:28 +01:00
Kazuyoshi Kato
2c61f3ce9e Expand a collapsed element on onclick
Doing the expansion on onhashchange seems too late.

Fixes #48726
2018-08-25 03:36:17 -07:00
bors
af2be23fd1 Auto merge of #53385 - matklad:stabilize-find-map, r=KodrAus
Stablize Iterator::find_map

Stabilization PR for https://github.com/rust-lang/rust/issues/49602
2018-08-25 08:53:04 +00:00
bors
e41f41142b Auto merge of #53609 - bemeurer:tidy-ctfe, r=RalfJung
Tidy CFTE/MIRI

Fixes #53596
2018-08-25 06:48:14 +00:00
bors
f87d9135b4 Auto merge of #53577 - GuillaumeGomez:rustdoc-substring-search, r=QuietMisdreavus
Search a substring instead of start of string in rustdoc search

Fixes #49762.

r? @QuietMisdreavus
2018-08-25 02:40:14 +00:00
toidiu
c63b633971 remove dupe attribute 2018-08-24 21:38:53 -04:00
bors
d95f078f0a Auto merge of #53225 - nikomatsakis:nll-type-annot, r=pnkfelix
MIR: support user-given type annotations on fns, structs, and enums

This branch adds tooling to track user-given type annotations on functions, structs, and enum variant expressions. The user-given types are passed onto NLL which then enforces them.

cc #47184 — not a complete fix, as there are more cases to cover

r? @eddyb
cc @rust-lang/wg-compiler-nll
2018-08-24 22:42:00 +00:00
Niko Matsakis
73fb1622b3 check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
Niv Kaminer
83ca347343 remove copyright headers now that they are not madatory 2018-08-25 00:07:00 +03:00
Mark Mansi
b32b6e803b fix tests 2018-08-24 15:48:00 -05:00
Mark Mansi
0cec1b92c3 oops 2018-08-24 15:48:00 -05:00
Mark Mansi
88037a5587 Add/update tests for 2015, 2018, rustfix 2018-08-24 15:48:00 -05:00
Mark Mansi
3c3c642a05 Start working on a test 2018-08-24 15:48:00 -05:00
Mark Mansi
3e073ab111 fix compile error 2018-08-24 15:48:00 -05:00
Mark Mansi
d2dfc9cea3 Remove anon trait params from 2018 and beyond 2018-08-24 15:48:00 -05:00
Jorge Aparicio
d65a64e31b change the default linker of the ARM Cortex-M targets
to rust-lld so users won't need an external linker to build programs
2018-08-24 21:40:57 +02:00
bors
d41f21f11a Auto merge of #53460 - JoshBrudnak:master, r=estebank
Fix compile panic on non existent type return

Reverted the change 28a76a9000 (diff-4ed25c00aceb84666fca639cf8101c7cL1069) which was panicking when returning a type that cannot be found in the current scope and added testing for the compile error.

For example:
```rust
fn addition() -> Wrapper<impl A> {}
```
Where Wrapper is undefined in the scope.
2018-08-24 19:21:27 +00:00
Taylor Cramer
3a20faa418 Update libc to include Fuchsia fixes 2018-08-24 11:52:49 -07:00
Niko Matsakis
ed73a3267a address pnkfelix nits 2018-08-24 13:27:38 -04:00
Niko Matsakis
5778fec665 pacify the mercilous tidy: adt-nullary-enums test 2018-08-24 13:27:38 -04:00
Niko Matsakis
7c3654a722 pacify the mercilous tidy: adt user-ty 2018-08-24 13:27:38 -04:00
Niko Matsakis
fa787454c5 pacify the mercilous tidy: user-ty on rvalue assignments 2018-08-24 13:27:38 -04:00
Niko Matsakis
6f73127458 pacify the mercilous tidy: doc comment for is_identity 2018-08-24 13:27:38 -04:00