Jonathan Turner
a5408a5415
Rollup merge of #35555 - circuitfox:E0128-update-error-format, r=jonathandturner
...
E0128 update error format
Fixes #35508
Part of #35233
r? @jonathandturner
2016-08-11 06:34:00 -07:00
Jonathan Turner
08d5df8f5f
Rollup merge of #35541 - hank-der-hafenarbeiter:E0045, r=jonathandturner
...
Updated E0045 to new error format (no bonus)
Part of #35501
r? @jonathandturner
2016-08-11 06:34:00 -07:00
Jonathan Turner
0283443522
Rollup merge of #35528 - Vassah:master, r=jonathandturner
...
Update Error Format for E0091 and E0092
Addresses [#35228 ](https://github.com/rust-lang/rust/issues/35228 ) and [#35229 ](https://github.com/rust-lang/rust/issues/35229 ) as part of [#35233 ](https://github.com/rust-lang/rust/issues/35233 ).
Please let me know if there are any issues; first time contributor.
r? @jonathandturner
2016-08-11 06:33:59 -07:00
Jonathan Turner
853fe86906
Rollup merge of #35486 - KiChjang:e0081-bonus, r=jonathandturner
...
Shrink span to variant discriminant expression for E0081
Part of #35233 .
Extension of #35353 .
Fixes #35224 .
r? @jonathandturner
2016-08-11 06:33:58 -07:00
Jonathan Turner
e24c326400
Rollup merge of #35375 - trixnz:update-error-326, r=jonathandturner
...
Update error format for E0326
Fixes #35335 as part of #35233
r? @jonathandturner
2016-08-11 06:33:57 -07:00
trixnz
034df94780
Update error format for E0326
2016-08-10 19:04:11 +02:00
bors
1f2ae3849c
Auto merge of #35525 - jonathandturner:rollup, r=jonathandturner
...
Rollup of 15 pull requests
- Successful merges: #35371 , #35396 , #35446 , #35449 , #35452 , #35458 , #35465 , #35466 , #35470 , #35475 , #35477 , #35484 , #35504 , #35507 , #35524
- Failed merges: #35395 , #35415
2016-08-10 10:03:08 -07:00
Niko Matsakis
c7f15aa178
incorporate resolve results into hashing
...
We now incorporate the `def_map` and `trait_map`
results into the SVH.
2016-08-09 20:28:46 -04:00
Chris Stankus
766a0ab651
E0128 update error format
2016-08-09 15:13:32 -05:00
bors
e1d2bc2916
Auto merge of #35166 - nikomatsakis:incr-comp-ice-34991-2, r=mw
...
Address ICEs running w/ incremental compilation and building glium
Fixes for various ICEs I encountered trying to build glium with incremental compilation enabled. Building glium now works. Of the 4 ICEs, I have test cases for 3 of them -- I didn't isolate a test for the last commit and kind of want to go do other things -- most notably, figuring out why incremental isn't saving much *effort*.
But if it seems worthwhile and I can come back and try to narrow down the problem.
r? @michaelwoerister
Fixes #34991
Fixes #32015
2016-08-09 10:00:54 -07:00
hank-der-hafenarbeiter
ae9c09d360
Updated error for E0045 (no bonus)
2016-08-09 01:39:23 +02:00
Stephen Lazaro
156c822ab2
Update error messages for E0091 and E0092
2016-08-08 14:10:09 -07:00
Jonathan Turner
7db3f86966
Rollup merge of #35507 - hank-der-hafenarbeiter:master, r=jonathandturner
...
Updated Error mesage to new format for E0221
Part of #35386
r? @jonathandturner
2016-08-08 13:25:59 -07:00
Jonathan Turner
0a3766a41a
Rollup merge of #35504 - razielgn:updated-e0026-to-new-format, r=jonathandturner
...
Updated E0026 to new format.
Part of #35233 .
Fixes #35497 .
r? @jonathandturner
2016-08-08 13:25:59 -07:00
Jonathan Turner
a72891e9e8
Rollup merge of #35484 - KiChjang:e0205-bonus, r=GuillaumeGomez
...
Shrink E0205 span label to the trait being implemented
Part of #35233 .
Extension of #35468 .
Closes #35382 .
r? @GuillaumeGomez
2016-08-08 13:25:59 -07:00
Jonathan Turner
8a7edc0116
Rollup merge of #35477 - GuillaumeGomez:fix_E0132, r=jonathandturner
...
Fix E0132 error display
Error and note now use the same span.
r? @jonathandturner
2016-08-08 13:25:58 -07:00
Jonathan Turner
bbbac59c29
Rollup merge of #35475 - shyaamsundhar:patch-1, r=jonathandturner
...
E0248 New Format
2016-08-08 13:25:58 -07:00
Jonathan Turner
0e4e8e9544
Rollup merge of #35470 - munyari:e0214, r=jonathandturner
...
Update E0214 to the new error format
Part of #35233
Addresses #35383
"r? @jonathandturner
2016-08-08 13:25:58 -07:00
Jonathan Turner
c479f0210c
Rollup merge of #35449 - poveda-ruiz:master, r=jonathandturner
...
Updated E0087 to new format
Part of #35233 . r? @jonathandturner
2016-08-08 13:25:56 -07:00
Jonathan Turner
7979da0783
Rollup merge of #35446 - pcn:update-E0023-to-new-format, r=jonathandturner
...
Update E0023 to the new format
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-08 13:25:56 -07:00
Jonathan Turner
dd38172903
Rollup merge of #35396 - munyari:e0191, r=jonathandturner
...
Update E0191 to the new error format
Part of #35233
"r? @jonathandturner
2016-08-08 13:25:56 -07:00
Federico Ravasio
ee38609c20
Updated E0026 to new format.
2016-08-08 20:58:21 +02:00
hank-der-hafenarbeiter
a403ddf36d
Updated E0221 message to new format!
2016-08-08 20:51:44 +02:00
Keith Yeung
bd2bd6c71e
Shrink span to variant discriminant expression for E0081
2016-08-08 09:56:41 -07:00
bors
b42a384a80
Auto merge of #35456 - birkenfeld:issue-33784, r=nikomatsakis
...
typeck: suggest (x.field)(...) to call struct fields even when x is a reference
Fixes : #33784
Note: This is a reopen of #33785 .
2016-08-08 07:47:51 -07:00
Keith Yeung
c6e17ec276
Shrink E0205 span label to the trait being implemented
2016-08-07 22:45:00 -07:00
Guillaume Gomez
e40df1c88f
Fix E0132 error display
2016-08-08 01:00:25 +02:00
Keith Yeung
53baa09bfe
Update E0206 message to new format
2016-08-07 15:35:39 -07:00
Christian Poveda
8b111a7cf5
Updated E0087 to new format
2016-08-07 17:00:19 -05:00
ShyamSundarB
a848f11007
E0248 Change in issue format
2016-08-08 00:15:36 +05:30
Panashe M. Fundira
f07f093522
Update E0214 to the new error format
2016-08-07 13:21:23 -04:00
Jonathan Turner
995eeb02ca
Rollup merge of #35468 - munyari:e0205, r=jonathandturner
...
Update E0205 to the new error format
Part of #35233
Addresses #35382
"r? @jonathandturner
2016-08-07 09:59:45 -07:00
Jonathan Turner
8bd8cef318
Rollup merge of #35467 - terrynsun:master, r=jonathandturner
...
Update E0116 to new error code format.
Fixes #35249 as part of #35233 .
r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
cfebba5be3
Rollup merge of #35455 - munyari:e0204, r=jonathandturner
...
Update E0204 to the new error format
Part of #35233
Addresses #35381
"r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
fe7b3ae13b
Rollup merge of #35454 - Detegr:master, r=jonathandturner
...
New error message format for E0117 and E0118
Part of #35233
r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
a6cf011334
Rollup merge of #35443 - franleplant:master, r=jonathandturner
...
Update E0101 and E0102 to new format
Part of #35233
Fixes #35243
Fixes #35244
r? @jonathandturner
PS: My first contribution
2016-08-07 09:59:44 -07:00
Jonathan Turner
87e129ee69
Rollup merge of #35434 - intrepion:fix-compile-fail-e0121, r=jonathandturner
...
Fixing compiler error E0121
Fixes #35254 and part of #35233
2016-08-07 09:59:43 -07:00
Jonathan Turner
6bb7f354c1
Rollup merge of #35421 - razielgn:updated-e0225-to-new-format, r=jonathandturner
...
Updated E0225 to new format.
Part of #35233 .
Fixes #35388 .
r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
c92ca5f585
Rollup merge of #35419 - Keats:err-243, r=jonathandturner
...
Update error message for E0243 and E0244
Fixes #35389 and #35390 as part of #35233 .
r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
d4ed060a8f
Rollup merge of #35417 - Limeth:master, r=jonathandturner
...
E0131 updated to new format
Changes
```
error[E0131]: main function is not allowed to have type parameters
--> src/test/compile-fail/E0131.rs:11:1
|
11 | fn main<T>() { //~ ERROR E0131
| ^
```
to
```
error[E0131]: main function is not allowed to have type parameters
--> src/test/compile-fail/E0131.rs:11:1
|
11 | fn main<T>() { //~ ERROR E0131
| ^^^ main cannot have type parameters
```
Fixes #35257 . Part of #35233 .
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
02971961c7
Rollup merge of #35413 - silenuss:e0029-formatting, r=jonathandturner
...
Update compiler error 0029 to use new error format.
Part of #35233 ,
Addresses #35201
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
7e37442720
Rollup merge of #35411 - KiChjang:e0223-new-format, r=jonathandturner
...
Update E0223 to the new format
Part of #35233 .
Fixes #35387 .
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
4df58252bf
Rollup merge of #35410 - silenuss:e0027-formatting, r=jonathandturner
...
Update compiler error 0027 to use new error format.
Part of #35233 ,
Addresses #35200
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
46392c8076
Rollup merge of #35394 - mikhail-m1:master, r=jonathandturner
...
Update error format #35304
Fixes #35304 as part of #35233 .
r? @jonathandturner
2016-08-07 09:59:41 -07:00
Jonathan Turner
b69b2dbeb1
Rollup merge of #35357 - shri3k:E0040, r=jonathandturner
...
Updates compiler error E0040 with new format
Addresses #35208 as part of #35233 .
r? @GuillaumeGomez
2016-08-07 09:59:41 -07:00
Jonathan Turner
0b567c68da
Rollup merge of #35355 - shri3k:E0046, r=jonathandturner
...
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-07 09:59:40 -07:00
Jonathan Turner
f9f6fd4fbb
Rollup merge of #35314 - yossi-k:issue/35277, r=jonathandturner
...
Update E0185 and E0186 to new format
Part of #35233 .
Fixes #35277 .
Fixes #35276 .
r? @jonathandturner
2016-08-07 09:59:40 -07:00
Panashe M. Fundira
0b248f1d29
Update E0205 to the new error format
2016-08-07 12:47:53 -04:00
Terry Sun
03dc48488e
Update E0116 to new error code format.
...
Fixes #35249 as part of #35233 .
2016-08-07 11:56:52 -04:00
Fran Guijarro
da86ae2338
Update E0101 and E0102 to new format
2016-08-07 12:03:29 -03:00