bors
8a4641bbdf
Auto merge of #35485 - KiChjang:e0004-bonus, r=GuillaumeGomez
...
Lengthen the span label to include match and expr for E0004
Part of #35233 .
Extension of #35191 .
r? @GuillaumeGomez
2016-08-08 03:35:19 -07:00
Seo Sanghyeon
dc7407c77a
Print Rust target name, not LLVM target name, for --print target-list
2016-08-08 19:22:57 +09:00
Keith Yeung
c6e17ec276
Shrink E0205 span label to the trait being implemented
2016-08-07 22:45:00 -07:00
Keith Yeung
06133c50f7
Lengthen the span label to include match and expr for E0004
2016-08-07 22:25:04 -07:00
Corey Farwell
e28521ede7
Remove unnecessary main
functions in doc examples.
2016-08-08 00:07:36 -04:00
bors
6153bbbe38
Auto merge of #35402 - KiChjang:e0206-new-msg, r=GuillaumeGomez
...
Update E0206 message to new format
Part of #35233 .
Fixes #35301 .
r? @GuillaumeGomez
2016-08-07 17:31:55 -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
Alexander Altman
42e64bc5f2
Add FromIterator
implementations for Cow<str>
...
This seems like an oversight, since the corresponding implementation for `Cow<[T]> where T: Clone` exists.
2016-08-07 13:41:31 -07:00
ShyamSundarB
a848f11007
E0248 Change in issue format
2016-08-08 00:15:36 +05:30
ShyamSundarB
4a99a9de03
E0248 Change in issue format
2016-08-08 00:12:53 +05:30
Guillaume Gomez
4da9bdc563
Update librustc_borrowck error codes check
2016-08-07 20:16:02 +02:00
bors
1744c46e47
Auto merge of #35469 - jonathandturner:rollup, r=jonathandturner
...
Rollup of 21 pull requests
- Successful merges: #35314 , #35355 , #35357 , #35366 , #35394 , #35410 , #35411 , #35413 , #35417 , #35419 , #35421 , #35429 , #35433 , #35434 , #35436 , #35439 , #35443 , #35454 , #35455 , #35467 , #35468
- Failed merges: #35395 , #35415
2016-08-07 10:52:23 -07:00
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
7d9ea8b371
Rollup merge of #35439 - pcn:update-E0010-error-message, r=jonathandturner
...
Update E0010 to use the new format
For https://github.com/rust-lang/rust/issues/35194
2016-08-07 09:59:44 -07:00
Jonathan Turner
3917d0e033
Rollup merge of #35436 - frewsxcv:into-vec, r=GuillaumeGomez
...
Add doc example for `std::ffi::NulError::into_vec`.
None
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
56ffcbd321
Rollup merge of #35433 - mneumann:dragonfly-fix-libstd-errno-location, r=alexcrichton
...
Fix build on DragonFly (unused function errno_location)
Function errno_location() is not used on DragonFly. As warnings are
errors, this breaks the build.
2016-08-07 09:59:43 -07:00
Jonathan Turner
9151431fd4
Rollup merge of #35429 - frewsxcv:tracking-is-empty, r=apasel422
...
Indicate tracking issue for `exact_size_is_empty` unstability.
https://github.com/rust-lang/rust/issues/35428
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
94cb842887
Rollup merge of #35366 - medzin:E0282, r=jonathandturner
...
Updated error message E0282
Fixes #35312 as part of #35233 .
r? @GuillaumeGomez
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
Novotnik, Petr
98c6770a23
Fix formatting of module layout example
2016-08-07 17:44:47 +02:00
Fran Guijarro
da86ae2338
Update E0101 and E0102 to new format
2016-08-07 12:03:29 -03:00
Jonathan Turner
c350ec7bb3
Fix old call in lexer tests
2016-08-07 07:50:27 -07:00
Jonathan Turner
fad4f32c31
Turn on new errors, json mode. Remove duplicate unicode test
2016-08-07 07:46:49 -07:00
Peter C. Norton
ec1ef79ad9
Updated the messages for E0017
...
- Fix note message, fix tests.
2016-08-07 10:29:50 -04:00
Peter C. Norton
dfb66c3e2b
Update E0010 to use the new format
...
For https://github.com/rust-lang/rust/issues/35194
2016-08-07 10:27:42 -04:00
Yossi Konstantinovsky
64873965fa
Update E0185 and E0186 to new format
2016-08-07 17:23:17 +03:00
Yojan Shrestha
b564c6a5e4
Updates compiler error E0040 with new format
2016-08-07 08:31:17 -05:00
Yojan Shrestha
ed72c65f72
Updates compiler error E0046 with new format
2016-08-07 08:24:36 -05:00
Corey Farwell
28218bed8f
Utilize PhantomData
to enforce !Sync
and !Send
field.
2016-08-07 09:06:19 -04:00
bors
f5e7a5910d
Auto merge of #35362 - medzin:E0252, r=GuillaumeGomez
...
Updated error message E0252
Fixes #35306 as part of #35233 .
r? @GuillaumeGomez
2016-08-07 05:48:47 -07:00
Guillaume Gomez
56eba5a446
Add run-pass test for issue 33498
2016-08-07 13:55:08 +02:00