]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agoRollup merge of #49099 - glandium:master, r=sfackler
kennytm [Mon, 19 Mar 2018 23:15:22 +0000 (07:15 +0800)]
Rollup merge of #49099 - glandium:master, r=sfackler

Use associated consts for GenericRadix base and prefix

The trait being private, this does not imply an API change.

6 years agoRollup merge of #49096 - alanhdu:master, r=alexcrichton
kennytm [Mon, 19 Mar 2018 23:15:20 +0000 (07:15 +0800)]
Rollup merge of #49096 - alanhdu:master, r=alexcrichton

Update rustfmt to 0.4.1

6 years agoRollup merge of #49092 - mark-i-m:deptrack_readme, r=nikomatsakis
kennytm [Mon, 19 Mar 2018 23:15:19 +0000 (07:15 +0800)]
Rollup merge of #49092 - mark-i-m:deptrack_readme, r=nikomatsakis

Replace many of the last references to readmes

In particular, this removes the dep track readme, so it should not be merged before https://github.com/rust-lang-nursery/rustc-guide/pull/92

Fix #47935

cc #48478

r? @nikomatsakis

6 years agoRollup merge of #49004 - wesleywiser:incr_specialization_graph_query, r=michaelwoerister
kennytm [Mon, 19 Mar 2018 23:15:18 +0000 (07:15 +0800)]
Rollup merge of #49004 - wesleywiser:incr_specialization_graph_query, r=michaelwoerister

Cache the specialization_graph query

Fixes #48987

r? @michaelwoerister

6 years agoRollup merge of #48902 - csmoe:refactor_BorrowckErrors_fn_self, r=nikomatsakis
kennytm [Mon, 19 Mar 2018 23:15:16 +0000 (07:15 +0800)]
Rollup merge of #48902 - csmoe:refactor_BorrowckErrors_fn_self, r=nikomatsakis

refactor the `BorrowckErrors` trait to take `fn(self)`

Fixes #48783

6 years agoRollup merge of #48834 - ysiraichi:suggest-remove-ref, r=estebank
kennytm [Mon, 19 Mar 2018 23:15:15 +0000 (07:15 +0800)]
Rollup merge of #48834 - ysiraichi:suggest-remove-ref, r=estebank

Suggest removing `&`s

This implements the error message discussed in #47744.
We check whether removing each `&` yields a type that satisfies the requested obligation.
Also, it was created a new `NodeId` field in `ObligationCause` in order to iterate through the `&`s. The way it's implemented now, it iterates through the obligation snippet and counts the number of `&`.

r? @estebank

6 years agoRollup merge of #48810 - Phlosioneer:32463-impl-integer-for-wrapping, r=dtolnay
kennytm [Mon, 19 Mar 2018 23:15:14 +0000 (07:15 +0800)]
Rollup merge of #48810 - Phlosioneer:32463-impl-integer-for-wrapping, r=dtolnay

Implement Integer methods for Wrapping

Wrapping<T> now implements:

count_ones, count_zeros, leading_zeros,
trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
from_le, to_be, to_le, and pow

where T is:

u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.

Docs were written for all these methods, as well as examples. The
examples mirror the ones on u8, u16, etc... for consistency.

Closes #32463

6 years agoRollup merge of #46518 - partim:asref-borrow-doc, r=dtolnay
kennytm [Mon, 19 Mar 2018 23:15:12 +0000 (07:15 +0800)]
Rollup merge of #46518 - partim:asref-borrow-doc, r=dtolnay

Improve documentation for Borrow

This is the first step in improving the documentation for all the reference conversion traits. It proposes new text for the trait documentation of `Borrow`. Since I feel it is a somewhat radical rewrite and includes a stricter contract for `Borrow` then the previous text—namely that *all* shared traits need to behave the same, not just a select few—, I wanted to get some feedback before continuing.

Apart from the ‘normative’ description, the new text also includes a fairly extensive explanation of how the trait is used in the examples section. I included it because every time I look at how `HashMap` uses the trait, I need to think for a while as the use is a bit twisted. So, I thought having this thinking written down as part of the trait itself might be useful. One could argue that this should go into The Book, and, while I really like having everything important in the docs, I can see the text moved there, too.

So, before I move on: is this new text any good? Do we feel it is correct, useful, comprehensive, and understandable?

(This PR is in response to #44868 and #24140.)

6 years agoAuto merge of #49058 - withoutboats:pin, r=cramertj
bors [Mon, 19 Mar 2018 23:01:37 +0000 (23:01 +0000)]
Auto merge of #49058 - withoutboats:pin, r=cramertj

Pin, Unpin, PinBox

Implementing rust-lang/rfcs#2349 (do not merge until RFC is merged)

@bors r? @cramertj

6 years agoOkay this is the right way.
boats [Mon, 19 Mar 2018 22:48:48 +0000 (15:48 -0700)]
Okay this is the right way.

6 years agoPut `#[macro_use] extern crate <crate>` before fn main() in doctests
memoryleak47 [Mon, 19 Mar 2018 22:48:02 +0000 (23:48 +0100)]
Put `#[macro_use] extern crate <crate>` before fn main() in doctests

6 years agoDon't use posix_spawn() if PATH was modified in the environment.
Bryan Drewery [Mon, 19 Mar 2018 22:40:09 +0000 (15:40 -0700)]
Don't use posix_spawn() if PATH was modified in the environment.

The expected behavior is that the environment's PATH should be used
to find the process.  posix_spawn() could be used if we iterated
PATH to search for the binary to execute.  For now just skip
posix_spawn() if PATH is modified.

6 years agoComment out entire test.
boats [Mon, 19 Mar 2018 22:34:11 +0000 (15:34 -0700)]
Comment out entire test.

6 years agoFix automatic urls with backticks
Guillaume Gomez [Mon, 19 Mar 2018 22:25:55 +0000 (23:25 +0100)]
Fix automatic urls with backticks

6 years agoMake Atomic doc examples specific to each type
Guillaume Gomez [Wed, 14 Mar 2018 18:41:22 +0000 (19:41 +0100)]
Make Atomic doc examples specific to each type

6 years agoIgnore properly.
boats [Mon, 19 Mar 2018 20:15:15 +0000 (13:15 -0700)]
Ignore properly.

6 years agoComment out flakey test.
boats [Mon, 19 Mar 2018 20:13:31 +0000 (13:13 -0700)]
Comment out flakey test.

6 years agoMerge branch 'update-beta-freebsd' into freebsd-posix-spawn
Bryan Drewery [Mon, 19 Mar 2018 20:11:55 +0000 (13:11 -0700)]
Merge branch 'update-beta-freebsd' into freebsd-posix-spawn

6 years agoUpdate beta to version with fixed FreeBSD support from #49023.
Bryan Drewery [Mon, 19 Mar 2018 19:40:42 +0000 (12:40 -0700)]
Update beta to version with fixed FreeBSD support from #49023.

Fixes #42681

6 years agoDo not suggest `.into()` in `const`s
Esteban Küber [Mon, 19 Mar 2018 01:18:35 +0000 (18:18 -0700)]
Do not suggest `.into()` in `const`s

6 years agoupdate compile-fail tests: fewer warnings because this is now a HIR lint
Ralf Jung [Mon, 19 Mar 2018 17:08:12 +0000 (18:08 +0100)]
update compile-fail tests: fewer warnings because this is now a HIR lint

6 years agowording nits
Ralf Jung [Mon, 19 Mar 2018 17:01:14 +0000 (18:01 +0100)]
wording nits

6 years agoconfig.toml.example: thinlto bootstrap was removed in ff227c4a2d8a2fad5abf322f6f1391a...
Matthias Krüger [Mon, 19 Mar 2018 14:14:19 +0000 (15:14 +0100)]
config.toml.example: thinlto bootstrap was removed in ff227c4a2d8a2fad5abf322f6f1391ae6779197f so remove the option.

6 years agoUpdate rustfmt to 0.4.1
Alan Du [Mon, 19 Mar 2018 14:14:13 +0000 (10:14 -0400)]
Update rustfmt to 0.4.1

6 years ago#49133 - Reworded the Error message: "`pub` not needed here" message
Dileep Bapat [Mon, 19 Mar 2018 11:14:58 +0000 (16:44 +0530)]
#49133 - Reworded the Error message: "`pub` not needed here" message

6 years agoUpdate RELEASES.md
Aaron Power [Mon, 19 Mar 2018 12:38:04 +0000 (12:38 +0000)]
Update RELEASES.md

6 years ago#49133 - Reworded the Error message: "`pub` not needed here" message
Dileep Bapat [Mon, 19 Mar 2018 11:14:58 +0000 (16:44 +0530)]
#49133 - Reworded the Error message: "`pub` not needed here" message

6 years agoAuto merge of #49079 - oli-obk:cross_miri, r=michaelwoerister
bors [Mon, 19 Mar 2018 10:39:26 +0000 (10:39 +0000)]
Auto merge of #49079 - oli-obk:cross_miri, r=michaelwoerister

Cleanup metadata and incremental cache processing of constants

fixes #49033
fixes #49081

we really need tests for this. do we have any cross compilation tests? I couldn't find any

6 years agoAuto merge of #49108 - SimonSapin:sip, r=TimNN
bors [Mon, 19 Mar 2018 07:49:32 +0000 (07:49 +0000)]
Auto merge of #49108 - SimonSapin:sip, r=TimNN

Remove or hide deprecated unstable SipHasher{13,24}

Deprecated since Rust 1.13.0.

6 years agoDocs: fix incorrect copy-paste for new `X?` in formatting strings
Simon Sapin [Mon, 19 Mar 2018 06:37:59 +0000 (07:37 +0100)]
Docs: fix incorrect copy-paste for new `X?` in formatting strings

6 years agoFix trailing whitespace
Phlosioneer [Thu, 8 Mar 2018 08:30:55 +0000 (03:30 -0500)]
Fix trailing whitespace

6 years agoMake Wrapping::pow use wrapping_pow, add example
Phlosioneer [Thu, 8 Mar 2018 07:31:15 +0000 (02:31 -0500)]
Make Wrapping::pow use wrapping_pow, add example

6 years agoImpl Integer methods for Wrapping
Phlosioneer [Wed, 7 Mar 2018 04:17:49 +0000 (23:17 -0500)]
Impl Integer methods for Wrapping

Wrapping<T> now implements:

count_ones, count_zeros, leading_zeros,
trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
from_le, to_be, to_le, and pow

where T is:

u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.

Docs were written for all these methods, as well as examples. The
examples mirror the ones on u8, u16, etc... for consistency.

Closes #32463

6 years agoAuto merge of #49091 - nikomatsakis:issue-49043-ty-infer-hash, r=michaelwoerister
bors [Mon, 19 Mar 2018 05:07:27 +0000 (05:07 +0000)]
Auto merge of #49091 - nikomatsakis:issue-49043-ty-infer-hash, r=michaelwoerister

extend stable hasher to support `CanonicalTy`

Fixes #49043

r? @michaelwoerister

6 years agoUpdate submodules in parallel
John Kåre Alsaker [Fri, 16 Mar 2018 19:11:48 +0000 (20:11 +0100)]
Update submodules in parallel

6 years agoAuto merge of #48978 - SimonSapin:debug-hex, r=KodrAus
bors [Mon, 19 Mar 2018 02:38:19 +0000 (02:38 +0000)]
Auto merge of #48978 - SimonSapin:debug-hex, r=KodrAus

Add hexadecimal formatting of integers with fmt::Debug

This can be used for integers within a larger types which implements Debug (possibly through derive) but not fmt::UpperHex or fmt::LowerHex.

```rust
assert!(format!("{:02x?}", b"Foo\0") == "[46, 6f, 6f, 00]");
assert!(format!("{:02X?}", b"Foo\0") == "[46, 6F, 6F, 00]");
```

RFC: https://github.com/rust-lang/rfcs/pull/2226

The new formatting string syntax (`x?` and `X?`) is insta-stable in this PR because I don’t know how to change a built-in proc macro’s behavior based of a feature gate. I can look into adding that, but I also strongly suspect that keeping this feature unstable for a time period would not be useful as possibly no-one would use it during that time.

This PR does not add the new (public) `fmt::Formatter` proposed in the API because:

* There was some skepticism on response to this part of the RFC
* It is not possible to implement as-is without larger changes to `fmt`, because `Formatter` at the moment has no easy way to tell apart for example `Octal` from `Binary`: it only has a function pointer for the relevant `fmt()` method.

If some integer-like type outside of `std` want to implement this behavior, another RFC will likely need to propose a different public API for `Formatter`.

6 years agoRevert "Remove useless powerpc64 entry from ARCH_TABLE, closes #47737"
varkor [Mon, 19 Mar 2018 01:34:32 +0000 (01:34 +0000)]
Revert "Remove useless powerpc64 entry from ARCH_TABLE, closes #47737"

This reverts commit 16ac85ce4dce1e185f2e6ce27df3833e07a9e502.

6 years agoAuto merge of #49095 - alexcrichton:debug-asmjs, r=kennytm
bors [Mon, 19 Mar 2018 00:02:32 +0000 (00:02 +0000)]
Auto merge of #49095 - alexcrichton:debug-asmjs, r=kennytm

Try to reduce amount of time on the asmjs builder

This PR has two commits for two separate strategies:

* First it disables optimizations for all tests, hopefully saving time by not optimizing the test code. This caused a number of run-pass tests to fail which are switched to being ignored here.
* Next it disables a number of test suites which aren't asm.js specific and already run elsewhere

cc #48826

6 years agoCleaned comments and extras s.
Yukio Siraichi [Sun, 18 Mar 2018 23:58:56 +0000 (20:58 -0300)]
Cleaned comments and extras s.

6 years agoCodeMap functions refactored.
Yukio Siraichi [Sun, 18 Mar 2018 13:05:20 +0000 (10:05 -0300)]
CodeMap functions refactored.

- Using `span_take_while` to implement others.

6 years agoReview fixes.
Yukio Siraichi [Sat, 17 Mar 2018 18:41:46 +0000 (15:41 -0300)]
Review fixes.

- `span_suggestion` changed to `span_suggestion_short`;
- `Span` used changed to contain only `&` refs;
- Tests passing.

6 years agoReporting with `span_suggestion_short`.
Yukio Siraichi [Fri, 16 Mar 2018 20:58:11 +0000 (17:58 -0300)]
Reporting with `span_suggestion_short`.

6 years agoRebased with master.
Yukio Siraichi [Wed, 14 Mar 2018 15:49:06 +0000 (12:49 -0300)]
Rebased with master.

6 years agoCreated multiple line test.
Yukio Siraichi [Wed, 14 Mar 2018 09:42:27 +0000 (06:42 -0300)]
Created multiple line test.

6 years agoKeeping code formatting.
Yukio Siraichi [Wed, 14 Mar 2018 09:41:05 +0000 (06:41 -0300)]
Keeping code formatting.

Suggesting snippet without changing the original formatting of the code.

6 years agoReview fixes.
Yukio Siraichi [Tue, 13 Mar 2018 04:06:04 +0000 (01:06 -0300)]
Review fixes.

- `suggest_snippet` handling space between refs;
- Suggest message changing according to the number of refs that should
be removed.

6 years agoNew test added.
Yukio Siraichi [Tue, 13 Mar 2018 04:05:46 +0000 (01:05 -0300)]
New test added.

6 years agoTest added.
Yukio Siraichi [Tue, 13 Mar 2018 02:40:55 +0000 (23:40 -0300)]
Test added.

6 years agoRefactored with high-order functions.
Yukio Siraichi [Sun, 11 Mar 2018 05:21:38 +0000 (02:21 -0300)]
Refactored with high-order functions.

6 years agoUpdate tracking issue.
boats [Sun, 18 Mar 2018 22:05:45 +0000 (15:05 -0700)]
Update tracking issue.

6 years agoAdd BufReader::buffer
Steven Fackler [Sun, 18 Mar 2018 16:18:18 +0000 (09:18 -0700)]
Add BufReader::buffer

This subsumes the need for an explicit is_empty function, and provides
access to the buffered data itself which has been requested from time to
time.

6 years agoAdd warning for invalid start of code blocks in rustdoc
Guillaume Gomez [Wed, 28 Feb 2018 00:09:30 +0000 (01:09 +0100)]
Add warning for invalid start of code blocks in rustdoc

6 years agoAuto merge of #49134 - oli-obk:clippy, r=kennytm
bors [Sun, 18 Mar 2018 17:22:17 +0000 (17:22 +0000)]
Auto merge of #49134 - oli-obk:clippy, r=kennytm

Update clippy and RLS

r? @Manishearth

6 years agoAllow test target to pass without installing
Sébastien Marie [Sun, 18 Mar 2018 17:08:17 +0000 (18:08 +0100)]
Allow test target to pass without installing

explicitly pass -L target-lib to rustdoc

6 years agonum::NonZero* types now have their own tracking issue: #49137
Simon Sapin [Sun, 18 Mar 2018 15:58:38 +0000 (16:58 +0100)]
num::NonZero* types now have their own tracking issue: #49137

Fixes #27730

6 years agoFix events handling in rustdoc
Guillaume Gomez [Sun, 18 Mar 2018 15:32:41 +0000 (16:32 +0100)]
Fix events handling in rustdoc

6 years agoUpdate RLS.
kennytm [Sun, 18 Mar 2018 14:26:57 +0000 (22:26 +0800)]
Update RLS.

6 years agoUpdate clippy
Oliver Schneider [Sun, 18 Mar 2018 12:29:57 +0000 (13:29 +0100)]
Update clippy

6 years agoremove unneeded where clause
csmoe [Thu, 15 Mar 2018 10:39:44 +0000 (18:39 +0800)]
remove unneeded where clause

6 years agoFix formatting.
Martin Hoffmann [Sun, 18 Mar 2018 12:05:00 +0000 (13:05 +0100)]
Fix formatting.

6 years agoAuto merge of #48986 - matklad:update-cargo, r=alexcrichton
bors [Sun, 18 Mar 2018 10:03:18 +0000 (10:03 +0000)]
Auto merge of #48986 - matklad:update-cargo, r=alexcrichton

Update Cargo

r? @alexcrichton

Let's put new clap argument parsing in production to see if anything dies in flames :)

6 years agoAuto merge of #48985 - scalexm:lowering, r=nikomatsakis
bors [Sun, 18 Mar 2018 07:35:43 +0000 (07:35 +0000)]
Auto merge of #48985 - scalexm:lowering, r=nikomatsakis

MVP for chalkification

r? @nikomatsakis

6 years agoAuto merge of #48917 - petrochenkov:import, r=oli-obk
bors [Sun, 18 Mar 2018 01:50:52 +0000 (01:50 +0000)]
Auto merge of #48917 - petrochenkov:import, r=oli-obk

syntax: Make imports in AST closer to the source and cleanup their parsing

This is a continuation of https://github.com/rust-lang/rust/pull/45846 in some sense.

6 years agorustbuild: Ship libsynchronization
Maxim Nazarenko [Sun, 18 Mar 2018 01:05:00 +0000 (03:05 +0200)]
rustbuild: Ship libsynchronization

Ship libsynchronization from MinGW

6 years agoAuto merge of #48842 - petrochenkov:under, r=nikomatsakis
bors [Sat, 17 Mar 2018 23:22:57 +0000 (23:22 +0000)]
Auto merge of #48842 - petrochenkov:under, r=nikomatsakis

syntax: Make `_` a reserved identifier

Why:
- Lexically `_` is an identifier.
- Internally it makes implementation of `use Trait as _;` (https://github.com/rust-lang/rust/issues/48216) and some other things cleaner.
- We prevent the externally observable effect of `_` being accepted by macros expecting `ident` by treating `_` specially in the `ident` matcher:
```rust
macro_rules! m {
    ($i: ident) => { let $i = 10; }
}

m!(_); // Still an error
```

6 years agoRemove deprecated unstable ptr::Shared type alias.
Simon Sapin [Thu, 8 Mar 2018 15:55:51 +0000 (16:55 +0100)]
Remove deprecated unstable ptr::Shared type alias.

It has been deprecated for about one release cycle.

6 years agoTest NonZero in a const item in a pattern.
Simon Sapin [Fri, 16 Feb 2018 18:28:13 +0000 (19:28 +0100)]
Test NonZero in a const item in a pattern.

(This was buggy before https://github.com/rust-lang/rust/pull/46882)

6 years agoStop using deprecated NonZero APIs
Simon Sapin [Fri, 16 Feb 2018 10:45:44 +0000 (11:45 +0100)]
Stop using deprecated NonZero APIs

These will eventually be removed
(though the NonZero<T> lang item will likely stay).

6 years agoDeprecate core::nonzero in favor of ptr::NonNull and num::NonZero*
Simon Sapin [Fri, 16 Feb 2018 10:14:35 +0000 (11:14 +0100)]
Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*

6 years agoUse num::NonZero* instead of NonZero<_> in rustc and tests
Simon Sapin [Fri, 16 Feb 2018 10:02:06 +0000 (11:02 +0100)]
Use num::NonZero* instead of NonZero<_> in rustc and tests

6 years agoUse NonNull<_> instead of NonZero<*const _> in btree internals
Simon Sapin [Fri, 16 Feb 2018 09:58:48 +0000 (10:58 +0100)]
Use NonNull<_> instead of NonZero<*const _> in btree internals

6 years agoAdd 12 num::NonZero* types for each primitive integer
Simon Sapin [Fri, 16 Feb 2018 09:39:24 +0000 (10:39 +0100)]
Add 12 num::NonZero* types for each primitive integer

RFC: https://github.com/rust-lang/rfcs/pull/2307

6 years agoMake interners thread-safe
John Kåre Alsaker [Sat, 17 Mar 2018 22:02:27 +0000 (23:02 +0100)]
Make interners thread-safe

6 years agoMinor cleanup
John Kåre Alsaker [Thu, 15 Mar 2018 09:01:17 +0000 (10:01 +0100)]
Minor cleanup

6 years agoAdd OnDrop
John Kåre Alsaker [Thu, 15 Mar 2018 09:38:12 +0000 (10:38 +0100)]
Add OnDrop

6 years agoAdd an Default impl for Lock
John Kåre Alsaker [Wed, 14 Mar 2018 19:13:42 +0000 (20:13 +0100)]
Add an Default impl for Lock

6 years agoReplace Rc with Lrc
John Kåre Alsaker [Wed, 14 Mar 2018 19:11:23 +0000 (20:11 +0100)]
Replace Rc with Lrc

6 years agoDon't get the global lock in the fast case
John Kåre Alsaker [Wed, 14 Mar 2018 22:23:46 +0000 (23:23 +0100)]
Don't get the global lock in the fast case

6 years agoRemove rustc_global!
John Kåre Alsaker [Wed, 7 Mar 2018 01:43:50 +0000 (02:43 +0100)]
Remove rustc_global!

6 years agoMake Span and Symbol implement Send and Sync
John Kåre Alsaker [Sun, 3 Dec 2017 13:37:23 +0000 (14:37 +0100)]
Make Span and Symbol implement Send and Sync

6 years agoAdd some docs + Fix rebase
Vadim Petrochenkov [Mon, 12 Mar 2018 20:16:09 +0000 (23:16 +0300)]
Add some docs + Fix rebase

6 years agoCleanup import parsing
Vadim Petrochenkov [Sat, 10 Mar 2018 15:44:44 +0000 (18:44 +0300)]
Cleanup import parsing

Fix spans of root segments

6 years agoRename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi`
Vadim Petrochenkov [Sat, 10 Mar 2018 14:45:47 +0000 (17:45 +0300)]
Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi`

6 years agoAST: Keep distinction between `path` and `::path` in imports and visibilities
Vadim Petrochenkov [Fri, 9 Mar 2018 23:02:39 +0000 (02:02 +0300)]
AST: Keep distinction between `path` and `::path` in imports and visibilities

Add the root segment for name resolution purposes only

6 years agoAST: Make renames in imports closer to the source
Vadim Petrochenkov [Fri, 9 Mar 2018 15:58:44 +0000 (18:58 +0300)]
AST: Make renames in imports closer to the source

Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}`

6 years agoAST/HIR: Clarify what the optional name in extern crate items mean
Vadim Petrochenkov [Fri, 9 Mar 2018 15:51:48 +0000 (18:51 +0300)]
AST/HIR: Clarify what the optional name in extern crate items mean

6 years agoReject `_` in `ident` matcher
Vadim Petrochenkov [Sat, 17 Mar 2018 19:08:18 +0000 (22:08 +0300)]
Reject `_` in `ident` matcher

6 years agosyntax: Make `_` an identifier
Vadim Petrochenkov [Thu, 8 Mar 2018 11:27:23 +0000 (14:27 +0300)]
syntax: Make `_` an identifier

6 years agoAdd span_suggestion while removing TyRefs based on the snippet String.
Yukio Siraichi [Fri, 9 Feb 2018 18:04:12 +0000 (19:04 +0100)]
Add span_suggestion while removing TyRefs based on the snippet String.

6 years agoremove FIXME(#27889) since the issue is already fixed
Niv Kaminer [Sat, 17 Mar 2018 16:24:11 +0000 (18:24 +0200)]
remove FIXME(#27889) since the issue is already fixed

6 years agoremove FIXME(#8372) since for-loops wont support borrowing iterators
Niv Kaminer [Sat, 17 Mar 2018 12:49:40 +0000 (14:49 +0200)]
remove FIXME(#8372) since for-loops wont support borrowing iterators

6 years agoremove FIXME(#33435) and remove the spurious failures counter measure
Niv Kaminer [Sat, 17 Mar 2018 00:19:01 +0000 (02:19 +0200)]
remove FIXME(#33435) and remove the spurious failures counter measure

6 years agoremove FIXME(#48116) and remove the logic to debug the issue
Niv Kaminer [Fri, 16 Mar 2018 23:28:55 +0000 (01:28 +0200)]
remove FIXME(#48116) and remove the logic to debug the issue

6 years agoremove FIXME(#2543) and avoid bad copies
Niv Kaminer [Sat, 17 Mar 2018 15:28:44 +0000 (17:28 +0200)]
remove FIXME(#2543) and avoid bad copies

6 years agoremove FIXME(#11094) and allow make tests to run on targets besides host
Niv Kaminer [Sat, 17 Mar 2018 01:26:35 +0000 (03:26 +0200)]
remove FIXME(#11094) and allow make tests to run on targets besides host

6 years agoremove FIXME(#30046) and infer moves on pattern matching
Niv Kaminer [Fri, 16 Mar 2018 23:00:40 +0000 (01:00 +0200)]
remove FIXME(#30046) and infer moves on pattern matching

6 years agoremove FIXME(#37712) and implement ItemLikeVisitor instead of Visitor
Niv Kaminer [Sat, 9 Dec 2017 22:10:43 +0000 (00:10 +0200)]
remove FIXME(#37712) and implement ItemLikeVisitor instead of Visitor

6 years agoremove FIXME(#39119) and allow running test on emscripten
Niv Kaminer [Sat, 9 Dec 2017 19:46:25 +0000 (21:46 +0200)]
remove FIXME(#39119) and allow running test on emscripten

6 years agoupdate FIXME(#5244) to point to RFC 1109 (Non-Copy array creation ergonomics)
Niv Kaminer [Fri, 16 Mar 2018 23:09:36 +0000 (01:09 +0200)]
update FIXME(#5244) to point to RFC 1109 (Non-Copy array creation ergonomics)

6 years agoupdate FIXME(#23442) to point to issue 45742 (Blanket impl of AsRef for Deref)
Niv Kaminer [Sat, 17 Mar 2018 09:04:33 +0000 (11:04 +0200)]
update FIXME(#23442) to point to issue 45742 (Blanket impl of AsRef for Deref)