summary refs log tree commit diff
path: root/src/test/ui/try-block
AgeCommit message (Collapse)AuthorLines
2019-04-10Update ui testLzu Tao-1/+1
2019-02-17Add a note about 2018e if someone uses `try {` in 2015eScott McMurray-0/+2
2019-01-24When using value after move, point at span of localEsteban Küber-4/+6
When trying to use a value after move, instead of using a note, point at the local declaration that has a type that doesn't implement `Copy` trait.
2019-01-22Auto merge of #57475 - SimonSapin:signed, r=estebankbors-2/+2
Add signed num::NonZeroI* types Multiple people have asked for them in https://github.com/rust-lang/rust/issues/49137. Given that the unsigned ones already exist, they are very easy to add and not an additional maintenance burden.
2019-01-21Fix some non-determinism in help messages for E0277 errors.Simon Sapin-1/+1
The diagnostic for this error prints `the following implementations were found` followed by the first N relevant impls, sorted. This commit makes the sort happen before slicing, so that the set of impls being printed is deterministic when the input is not.
2019-01-17Add signed num::NonZeroI* typesSimon Sapin-2/+2
Multiple people have asked for them, in https://github.com/rust-lang/rust/issues/49137. Given that the unsigned ones already exist, they are very easy to add and not an additional maintenance burden.
2019-01-15use structured macro and path resolve suggestionsAndy Russell-1/+1
2019-01-02Auto merge of #57250 - codeworm96:tyerr_msg, r=varkorbors-1/+1
Improve type mismatch error messages Closes #56115. Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing. TODO the book and clippy needs to be changed accordingly later. r? @varkor
2018-12-31Improve type mismatch error messagesYuning Zhang-1/+1
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
2018-12-31Address review commentsEsteban Küber-0/+4
- Suggest raw ident escaping in all editions - Keep primary label in all cases
2018-12-25Remove licensesMark Rousskov-99/+19
2018-10-28Point at `match` when a parse failure ocurrs inside of itEsteban Küber-1/+3
2018-10-10Use the span of the user type for `AscribeUserType`Matthew Jasper-1/+1
Also change the order of the fake read for let and the AscribeUserType, so that we use the better span and message from the fake read in errors.
2018-09-10insert `AscribeUserType` for ascriptionsNiko Matsakis-2/+3
2018-08-19Make a try-blocks folder for all the try{} UI testsScott McMurray-0/+452