about summary refs log tree commit diff
path: root/src/test/ui/try-block
AgeCommit message (Collapse)AuthorLines
2019-10-01fix test after rebaseAlex Zatelepin-4/+14
2019-10-01address review commentsAlex Zatelepin-4/+4
2019-10-01add testsAlex Zatelepin-4/+108
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-3/+3
2019-05-17Explain that ? converts the error type using FromEsteban Küber-0/+1
2019-04-22Remove double trailing newlinesvarkor-3/+0
2019-04-19Rollup merge of #60064 - estebank:issue-59980, r=varkorMazdak Farrokhzad-4/+4
Point at try `?` on errors affecting the err match arm of the desugared code Fix #59980.
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-4/+3
2019-04-17Give custom error for E0277 on `?` error caseEsteban Küber-2/+2
2019-04-17Point at try `?` on errors affecting the err match arm of the desugared codeEsteban Küber-2/+2
2019-04-14Rollup merge of #59835 - lzutao:nonzero-signed, r=Mark-SimulacrumMazdak Farrokhzad-1/+1
Re-export NonZero signed variant in std Closes #59834 .
2019-04-12Rollup merge of #59847 - Kampfkarren:try-block-catch, r=estebankMazdak Farrokhzad-0/+20
Error when using `catch` after `try` Part of https://github.com/rust-lang/rust/issues/31436
2019-04-10FeedbackKampfkarren-2/+2
2019-04-10Fix tests, I thinkKampfkarren-2/+3
2019-04-10Fix error brought up by changing tabs to spacesKampfkarren-1/+1
2019-04-10Adhere to tidy scriptKampfkarren-3/+3
2019-04-10Special error when using catch after tryKampfkarren-0/+19
2019-04-10Update ui testLzu Tao-1/+1
2019-03-11Update testsVadim Petrochenkov-18/+18
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