- 11 3月, 2019 2 次提交
-
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
Instead of a sticky-boolean flag that would downgrade errors to warnings during further recursion into the type (which is overly broad because we were not missing errors at arbitrarily deep levels), this instead tracks state closer to what the original bug actually was. In particular, the actual original bug was that we were failing to record the existence of an outer `impl Trait` solely when it occurred as an *immediate child* during the walk of the child types in `visit_generic_args`. Therefore, the correct way to precisely model when that bug would manifest itself (and thus downgrade the error-to-warning accordingly) is to track when those outer `impl Trait` cases were previously unrecorded. That's what this code does, by storing a flag with the recorded outer `impl Trait` indicating at which point in the compiler's control flow it had been stored. I will note that this commit passes the current test suite. A follow-up commit will also include tests illustrating the cases that this commit gets right (and were handled incorrectly by the previous sticky boolean).
-
- 08 3月, 2019 4 次提交
-
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
Note that the two previous visitors were omitting slightly different recursive calls, so I need two flags to properly emulate them.
-
由 bors 提交于
Always emit unclosed delimiter diagnostics Fix #58886.
-
由 bors 提交于
Create a derive macro for HashStable and allow proc macros in rustc A combination of https://github.com/rust-lang/rust/pull/56864 and https://github.com/rust-lang/rust/pull/56795. There were complications with using `serde_derive` as rustc doesn't know which crate to use for the host when there is a serde_derive in the sysroot and cargo passes another on the command line built from crates.io. r? @EddyB (for proc macro changes) @alexcrichton (for rustbuild changes) @michaelwoerister (for the macro itself)
-
- 07 3月, 2019 13 次提交
-
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
Fix #58856.
-
由 bors 提交于
Add const generics to ty (and transitive dependencies) Split out from #53645. This work is a collaborative effort with @yodaldevoid. There are a number of stubs. Some I plan to leave for the next PRs (e.g. `infer` and `rustdoc`). Others I can either fix up in this PR, or as follow ups (which would avoid the time-consuming rebasing). It was a little hard to split this up, as so much depends on ty and friends. Apologies for the large diff. r? @EddyB
-
由 John Kåre Alsaker 提交于
-
- 06 3月, 2019 21 次提交
-
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-
由 varkor 提交于
Co-Authored-By: NGabriel Smith <yodaldevoid@users.noreply.github.com>
-