- 21 11月, 2017 1 次提交
-
-
由 Alex Burka 提交于
-
- 20 11月, 2017 1 次提交
-
-
由 Alex Burka 提交于
-
- 16 11月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 03 11月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 02 11月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 25 10月, 2017 1 次提交
-
-
由 Michael Woerister 提交于
-
- 20 10月, 2017 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 30 8月, 2017 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 27 8月, 2017 1 次提交
-
-
由 Tatsuyuki Ishi 提交于
-
- 26 8月, 2017 2 次提交
-
-
由 Alex Crichton 提交于
This adds a function to `DiagnosticBuilder` to delay the entire diagnostic as a bug to be emitted at a later time. This'll end up getting used in the compiler in the subsequent commits...
-
由 Tamir Duberstein 提交于
Fixes #41701.
-
- 25 8月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This commit alters the `rustc::ty::maps` implementation to ensure that all output diagnostics from the compiler are tracked for the duration of each query. These are then intended to be replayed back the first time a cached value is loaded, and otherwise the cache should operate the same as it does today. Closes #42513
-
- 23 8月, 2017 1 次提交
-
-
由 Seiichi Uchida 提交于
The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros.
-
- 19 8月, 2017 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 18 8月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 16 8月, 2017 1 次提交
-
-
由 Zack M. Davis 提交于
Like #43008 (f6689991), but _much more aggressive_.
-
- 31 7月, 2017 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
-
- 18 7月, 2017 1 次提交
-
-
由 Esteban Küber 提交于
Now there's a way to add suggestions that hide the suggested code when presented inline, to avoid weird wording when short code snippets are added at the end.
-
- 07 7月, 2017 2 次提交
-
-
由 Kevin Mehall 提交于
-
由 Esteban Küber 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
This reverts commit 5558c64f.
-
- 20 6月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
-
- 12 6月, 2017 1 次提交
-
-
由 Inokentiy Babushkin 提交于
* The lazy loading mechanism has been moved to a more appropriate place. * Return values from the functions invoked there are properly used. * Documentation has gotten some minor improvements. * Possibly some larger restructuring will need to take place still.
-
- 11 6月, 2017 3 次提交
-
-
由 Inokentiy Babushkin 提交于
We now fetch source lines from the `external_src` member as a secondary fallback if no regular source is present, that is, if the file map belongs to an external crate and the source has been fetched from disk.
-
由 Inokentiy Babushkin 提交于
-
由 Inokentiy Babushkin 提交于
They are now handled in their own member to prevent mutating access to the `src` member. This way, we can safely load external sources, while keeping the mutation of local source strings off-limits.
-
- 01 6月, 2017 1 次提交
-
-
由 Esteban Küber 提交于
When suggesting an appropriate mutability for a macro call, use the call span instead of the expanded macro's span.
-
- 31 5月, 2017 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 24 5月, 2017 1 次提交
-
-
由 Michael Kohl 提交于
See #33525 for details.
-
- 19 5月, 2017 1 次提交
-
-
由 Andre Bogus 提交于
-
- 12 5月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
These are now no longer necessary with `-Z force-unstable-if-unmarked`
-
- 11 5月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 10 5月, 2017 2 次提交
-
-
由 Oliver Schneider 提交于
-
由 Oliver Schneider 提交于
-
- 06 5月, 2017 2 次提交
-
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
- 27 4月, 2017 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
`try_index_step` does not resolve type variables by itself and would fail otherwise. Also harden the failure path in `confirm` to cause less confusing errors.
-
- 25 4月, 2017 1 次提交
-
-
由 Oliver Schneider 提交于
-
- 12 4月, 2017 1 次提交
-
-
由 Esteban Küber 提交于
Shorten mismatched types errors by replacing subtypes that are not different with `_`, and highlighting only the subtypes that are different. Given a file ```rust struct X<T1, T2> { x: T1, y: T2, } fn foo() -> X<X<String, String>, String> { X { x: X {x: "".to_string(), y: 2}, y: "".to_string()} } fn bar() -> Option<String> { "".to_string() } ``` provide the following output ```rust error[E0308]: mismatched types --> file.rs:6:5 | 6 | X { x: X {x: "".to_string(), y: 2}, y: "".to_string()} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found {integer} | = note: expected type `X<X<_, std::string::String>, _>` ^^^^^^^^^^^^^^^^^^^ // < highlighted found type `X<X<_, {integer}>, _>` ^^^^^^^^^ // < highlighted error[E0308]: mismatched types --> file.rs:6:5 | 10 | "".to_string() | ^^^^^^^^^^^^^^ expected struct `std::option::Option`, found `std::string::String` | = note: expected type `Option<std::string::String>` ^^^^^^^ ^ // < highlighted found type `std::string::String` ```
-
- 29 3月, 2017 1 次提交
-
-
由 Jeffrey Seyfried 提交于
-