| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -13/+0 | |
| 2022-08-18 | Reword "Required because of the requirements on the impl of ..." | Andy Wang | -1/+1 | |
| 2022-07-24 | suggest dereferencing index when trying to use a reference of usize as index | Takayuki Maeda | -2/+2 | |
| 2022-04-04 | Mention implementers of unsatisfied trait | Esteban Kuber | -0/+1 | |
| When encountering an unsatisfied trait bound, if there are no other suggestions, mention all the types that *do* implement that trait: ``` error[E0277]: the trait bound `f32: Foo` is not satisfied --> $DIR/impl_wf.rs:22:6 | LL | impl Baz<f32> for f32 { } | ^^^^^^^^ the trait `Foo` is not implemented for `f32` | = help: the following other types implement trait `Foo`: Option<T> i32 str note: required by a bound in `Baz` --> $DIR/impl_wf.rs:18:31 | LL | trait Baz<U: ?Sized> where U: Foo { } | ^^^ required by this bound in `Baz` ``` Mention implementers of traits in `ImplObligation`s. Do not mention other `impl`s for closures, ranges and `?`. | ||||
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -2/+2 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2019-03-11 | Update tests | Vadim Petrochenkov | -1/+1 | |
| 2019-01-19 | Make `str` indexing generic on `SliceIndex`. | Alexis Hunt | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -1/+1 | |
| 2018-03-14 | update tests | Guillaume Gomez | -1/+1 | |
| 2018-03-02 | Don't have Vec<T> delegate to [T]'s bounds for indexing | Jonathan Behrens | -1/+1 | |
| 2018-03-02 | Update UI test | Jonathan Behrens | -3/+4 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -1/+1 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+1 | |
| 2017-12-14 | Move compile-fail tests with NOTE/HELP annotations to UI | Vadim Petrochenkov | -0/+10 | |
