about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2016-08-07Rollup merge of #35355 - shri3k:E0046, r=jonathandturnerJonathan Turner-5/+18
Updates compiler error E0046 with new format Addresses #35209 as part of #35233. r? @jonathandturner I've repeated the following in my code. If this is something not desirable then let me know if there's any process to make this any cleaner. Thank you. ```rust missing_items.iter() .map(|name| name.to_string()) .collect::<Vec<_>>().join("`, `")) ```
2016-08-07Rollup merge of #35314 - yossi-k:issue/35277, r=jonathandturnerJonathan Turner-4/+20
Update E0185 and E0186 to new format Part of #35233. Fixes #35277. Fixes #35276. r? @jonathandturner
2016-08-07Update E0205 to the new error formatPanashe M. Fundira-5/+12
2016-08-07Update E0116 to new error code format.Terry Sun-4/+9
Fixes #35249 as part of #35233.
2016-08-07Fix formatting of module layout exampleNovotnik, Petr-0/+1
2016-08-07Update E0101 and E0102 to new formatFran Guijarro-6/+16
2016-08-07Fix old call in lexer testsJonathan Turner-3/+1
2016-08-07Turn on new errors, json mode. Remove duplicate unicode testJonathan Turner-595/+29
2016-08-07Updated the messages for E0017Peter C. Norton-4/+12
- Fix note message, fix tests.
2016-08-07Update E0010 to use the new formatPeter C. Norton-2/+5
For https://github.com/rust-lang/rust/issues/35194
2016-08-07Update E0185 and E0186 to new formatYossi Konstantinovsky-4/+20
2016-08-07Updates compiler error E0040 with new formatYojan Shrestha-2/+6
2016-08-07Updates compiler error E0046 with new formatYojan Shrestha-5/+18
2016-08-07Utilize `PhantomData` to enforce `!Sync` and `!Send` field.Corey Farwell-6/+7
2016-08-07Auto merge of #35362 - medzin:E0252, r=GuillaumeGomezbors-4/+10
Updated error message E0252 Fixes #35306 as part of #35233. r? @GuillaumeGomez
2016-08-07Add run-pass test for issue 33498Guillaume Gomez-0/+19
2016-08-07save an Instant for the timeout instead of a DurationFelix Rath-24/+35
requires less bookkeeping. also move some functionality into functions, to keep the loop cleaner.
2016-08-07Auto merge of #35432 - frewsxcv:20847, r=alexcrichtonbors-0/+21
Add regression test for #20847. https://github.com/rust-lang/rust/issues/20847
2016-08-07Update E0204 to the new error formatPanashe M. Fundira-8/+16
2016-08-07Update error E0118 to new formatAntti Keränen-5/+7
Fixes #35251 Also changes the span of the error to the span of the type as suggested in the bonus section of #35251
2016-08-07Update error E0117 to new formatAntti Keränen-5/+9
Fixes #35250
2016-08-07typeck: suggest (x.field)(...) to call struct fields even when x is a referenceGeorg Brandl-20/+74
Fixes: #33784
2016-08-06Finish fixing the operator precedence tablesubsan-1/+2
Add the unstable `:` colon and `<-` inplace operators.
2016-08-07run rustfmt on compiletest folder in src/tools/ folderSrinivas Reddy Thatiparthy-270/+273
2016-08-07Update E0023 to the new formatPeter C. Norton-4/+22
Added some extra code to check for the appropriate ending for numbers == 1 vs. not 1 in error messages. Added an extra test so that the plural suffix is seen and exercised.
2016-08-06Auto merge of #35378 - Amanieu:rwlock_eagain, r=alexcrichtonbors-1/+3
Handle RwLock reader count overflow `pthread_rwlock_rdlock` may return `EAGAIN` if the maximum reader count overflows. We shouldn't return a successful lock in that case.
2016-08-07Update error message for E0243 and E0244Vincent Prouillet-25/+57
2016-08-07E0131 updated to new formatJakub Hlusička-6/+12
2016-08-06Add doc example for `std::ffi::NulError::into_vec`.Corey Farwell-0/+9
2016-08-06Update E0191 to the new error formatPanashe M. Fundira-2/+7
2016-08-06Fix build on DragonFly (unused function errno_location)Michael Neumann-0/+1
Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build.
2016-08-06Add regression test for #20847.Corey Farwell-0/+21
2016-08-06Add E0388 error explanationGuillaume Gomez-1/+24
2016-08-06Improve librustc_typeck compile_fail checkGuillaume Gomez-154/+156
2016-08-06Add E0312 error explanationGuillaume Gomez-1/+32
2016-08-06Updated error message E0282Adam Medziński-17/+41
2016-08-06Auto merge of #35393 - GuillaumeGomez:err_codes2, r=jonathandturnerbors-22/+243
Err codes r? @jonathandturner
2016-08-06Indicate tracking issue for `exact_size_is_empty` unstability.Corey Farwell-1/+1
2016-08-06Fixing compiler error E0121Oliver Forral-2/+41
2016-08-06Add new error code testsGuillaume Gomez-0/+217
2016-08-06Updated E0225 to new format.Federico Ravasio-3/+8
2016-08-06Rollup merge of #35380 - TheZoq2:master, r=jonathandturnerEduard-Mihai Burtescu-2/+14
Update E0004 to use labels Fixes #35191 and is part of #35233 "r? @jonathandturner
2016-08-06Rollup merge of #35376 - trixnz:update-error-373, r=jonathandturnerEduard-Mihai Burtescu-3/+56
Update error format for E0373 Fixes #35337 as part of #35233 r? @jonathandturner
2016-08-06Rollup merge of #35374 - mrabault:e0229_format, r=jonathandturnerEduard-Mihai Burtescu-3/+8
Update E0229 to new format Hello, This fixes #35305. I ran the tests, no unit test broke, even though some were ignored. Cheers r? @jonathandturner
2016-08-06Rollup merge of #35373 - oijazsh:E0107, r=jonathandturnerEduard-Mihai Burtescu-6/+33
Update E0107 message to new format Fixes #35246 as part of #35233. r? @jonathandturner
2016-08-06Rollup merge of #35372 - Keats:err-323, r=jonathandturnerEduard-Mihai Burtescu-8/+30
Update error message for E0323, E0324 and E0325 Fixes #35325, #35327 and #35329 as part of #35233 r? @jonathandturner
2016-08-06Rollup merge of #35370 - razielgn:updated-e0306-to-new-format, r=jonathandturnerEduard-Mihai Burtescu-19/+54
Updated E0306 to new format. Part of #35233. Fixes #35315. r? @jonathandturner
2016-08-06Rollup merge of #35368 - shantanuraj:master, r=jonathandturnerEduard-Mihai Burtescu-4/+12
Update E0207 to use struct_span_err, add span_label Fixes #35302 part of #35233 r? @jonathandturner
2016-08-06Rollup merge of #35364 - kc1212:e0379, r=jonathandturnerEduard-Mihai Burtescu-2/+6
Update E0379 to new format #35338 Fixes #35338, as part of #35233. But this does not include the bonus. From my understanding a Span is defined by a `hi` and a `lo` position within some context. A naive way would be to mutate the span so that `hi` is 5 positions from `lo` which corresponds to the `const` keyword. But this methods feels a bit rigid. Is there another way to do this? r? @jonathandturner
2016-08-06Rollup merge of #35363 - GuillaumeGomez:err_codes, r=jonathandturnerEduard-Mihai Burtescu-5/+223
Err codes r? @jonathandturner