| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -1/+1 | |
| 2020-03-22 | Increase verbosity when suggesting subtle code changes | Esteban Küber | -3/+5 | |
| 2020-02-02 | Suggest `?Sized` on type parameters | Esteban Küber | -1/+3 | |
| 2020-01-05 | Add backticks to various diagnostics | varkor | -2/+2 | |
| 2019-12-12 | Update tests | LeSeulArtichaut | -1/+1 | |
| 2019-12-12 | Update UI test expectations | LeSeulArtichaut | -1/+1 | |
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -16/+20 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -6/+6 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -12/+3 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -12/+12 | |
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+2 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -1/+1 | |
| 2019-09-19 | When possible point at argument causing item obligation failure | Esteban Küber | -8/+8 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -5/+3 | |
| 2019-05-16 | review comments | Esteban Küber | -1/+1 | |
| 2019-05-16 | Handle more string addition cases with appropriate suggestions | Esteban Küber | -2/+5 | |
| 2019-05-02 | don't amplify errors in format! with bad literals | Aleksey Kladov | -14/+2 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+1 | |
| 2019-03-27 | Better diagnostic for binary operation on BoxedValues | hgallagher1993 | -2/+4 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -11/+11 | |
| 2019-01-22 | Rollup merge of #57604 - alercah:str-index, r=sfackler | Mazdak Farrokhzad | -10/+77 | |
| Make `str` indexing generic on `SliceIndex`. Fixes #55603 | ||||
| 2019-01-20 | Auto merge of #57651 - JohnTitor:give-char-type, r=estebank | bors | -7/+17 | |
| Implement new literal type `Err` Fixes #57384 I removed `return Ok`, otherwise, two errors occur. Any solutions? r? @estebank | ||||
| 2019-01-19 | Make `str` indexing generic on `SliceIndex`. | Alexis Hunt | -10/+77 | |
| 2019-01-18 | Rollup merge of #57350 - folex:master, r=estebank | Mazdak Farrokhzad | -0/+4 | |
| Better error note on unimplemented Index trait for string fixes #56740 I've tried to compile suggestion from comments in the issue #56740, but unsure of it. So I'm open to advice :) Current output will be like this: ```rust error[E0277]: the type `str` cannot be indexed by `{integer}` --> $DIR/str-idx.rs:3:17 | LL | let c: u8 = s[4]; //~ ERROR the type `str` cannot be indexed by `{integer}` | ^^^^ `str` cannot be indexed by `{integer}` | = help: the trait `std::ops::Index<{integer}>` is not implemented for `str` = note: you can use `.chars().nth()` or `.bytes().nth()` see chapter in The Book <https://doc.rust-lang.org/book/ch08-02-strings.html#indexing-into-strings> error: aborting due to previous error For more information about this error, try `rustc --explain E0277`. ``` `x.py test src/test/ui` succeeded and I've also tested output manually by compiling the following code: ```rust fn _f() { let s = std::string::String::from("hello"); let _c = s[0]; let s = std::string::String::from("hello"); let mut _c = s[0]; let s = "hello"; let _c = s[0]; let s = "hello"; let mut _c = &s[0]; } ``` Not sure if some docs should be changed too. I will also fix error message in the [Book :: Indexing into Strings](https://github.com/rust-lang/book/blob/db53e2e3cdf77beac853df6f29db4b3b86ea598c/src/ch08-02-strings.md#indexing-into-strings) if that PR will get approved :) | ||||
| 2019-01-18 | Fix tests | Yuki Okushi | -7/+17 | |
| 2019-01-13 | Tweak output of type mismatch between "then" and `else` `if` arms | Esteban Küber | -2/+4 | |
| 2019-01-05 | Show suggestion to use .char().nth() and link to The Book on unimplemented ↵ | folex | -0/+4 | |
| Index trait | ||||
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -3/+3 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -85/+14 | |
| 2018-08-19 | Lift some Sized checks. | Masaki Hara | -0/+1 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+278 | |
