trixnz
7eca647e5a
Update error format for E0373
2016-08-05 19:53:14 +02:00
Christian Poveda
00179a75c7
Updated style of unit test
2016-08-05 12:05:29 -05:00
Omer Sheikh
3575812e44
Update E0107 message to new format
2016-08-05 21:02:27 +05:00
Mikhail Modin
e7e5cfe312
Merge branch 'master' of https://github.com/rust-lang/rust
2016-08-05 19:01:48 +03:00
Mikhail Modin
2f5294e1d6
Fixes #35304
2016-08-05 18:57:37 +03:00
Matthias Rabault
40b7ace386
Update E0229 to new format
2016-08-05 17:43:44 +02:00
Michael Gattozzi
2683e8494c
Update HashMap docs regarding DoS protection
...
Because of changes to how Rust acquires randomness HashMap is not
guaranteed to be DoS resistant. This commit reflects these changes in
the docs themselves and provides an alternative method to creating
a hash that is resistant if needed.
2016-08-05 11:34:41 -04:00
Federico Ravasio
b7468fa189
Updated E0306 to new format.
2016-08-05 16:55:14 +02:00
bors
b30eff7ba7
Auto merge of #35365 - GuillaumeGomez:rollup, r=GuillaumeGomez
...
Rollup of 30 pull requests
- Successful merges: #34319 , #35041 , #35042 , #35076 , #35109 , #35137 , #35175 , #35181 , #35182 , #35189 , #35239 , #35264 , #35266 , #35281 , #35285 , #35289 , #35291 , #35294 , #35296 , #35297 , #35298 , #35299 , #35318 , #35319 , #35324 , #35326 , #35328 , #35333 , #35359 , #35362
- Failed merges:
2016-08-05 07:37:16 -07:00
Guillaume Gomez
cd48161e2c
Rollup merge of #35359 - Archytaus:master, r=GuillaumeGomez
...
Updated E0391 and E0404 to new error format
Fixes #35341 and #35342 as part of #35233 .
r? @GuillaumeGomez
2016-08-05 16:13:00 +02:00
Guillaume Gomez
dbef510f3c
Rollup merge of #35350 - birryree:E0368_update, r=jonathandturner
...
Fix for issue #35336 - updating error message for for E0368 to includ…
…e a span_label.
This fixes #35336 as part of #35233
r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
0339904fb4
Rollup merge of #35333 - nickmass:e0055-formatting, r=jonathandturner
...
Update compiler error E0055 to use new error format
Addresses #35213 , Part of the #35233 meta bug
r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
8b9700898b
Rollup merge of #35328 - trixnz:update-error-62, r=jonathandturner
...
Update error format for E0062
Fixes #35217 as part of #35233
There seems to be an issue with the old format ignoring the labels which results in the incorrect line being rendered in the old format. I spoke with @jonathandturner about this and it seems to be a bug. Pertinent information [here](https://gist.github.com/trixnz/ad11e68687529e164427df8f8eb63116 ).
r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
31da06bebb
Rollup merge of #35326 - circuitfox:E0119-update-error-format, r=jonathandturner
...
E0119 update error format
Part of #35233 , fixes #35252
r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
6597a28144
Rollup merge of #35324 - ubsan:precedence, r=steveklabnik
...
Fix precedence table in reference
Adds `..` and `...` and puts them above `=`
r? @steveklabnik
2016-08-05 16:12:59 +02:00
Guillaume Gomez
a7b443fd85
Rollup merge of #35319 - Keats:err-137, r=jonathandturner
...
Update error format for E0137
Fixes #35265 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
e9b79d918c
Rollup merge of #35318 - sciyoshi:update-e0124, r=jonathandturner
...
Update E0124 to the new error format
Part of #35233 . This resolves #35255 .
r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
84d467c5f9
Rollup merge of #35299 - circuitfox:E0110-update-error-format, r=jonathandturner
...
E0110 update error format
Fixes #35248
Part of #35233
r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
65a283fac1
Rollup merge of #35298 - Keats:err-120, r=jonathandturner
...
Update error message E0120
Fixes #35253 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
8038c17da5
Rollup merge of #35297 - saml:e0001-label, r=jonathandturner
...
Set label for unreachable pattern
Part of #35233
Fixes #35190
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
7a3164010a
Rollup merge of #35296 - medzin:master, r=jonathandturner
...
Update error message E0178
Fixes #35273 as part of #35233 .
2016-08-05 16:12:57 +02:00
Guillaume Gomez
709fd096d6
Rollup merge of #35294 - Roybie:35272-E0172-update-error-format, r=jonathandturner
...
Update error message for E0172
Fixes #35272 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
527e326756
Rollup merge of #35291 - yossi-k:master, r=jonathandturner
...
Update E0079 to new format
Fixes #35222 . Part of #35233 .
r? @GuillaumeGomez
2016-08-05 16:12:56 +02:00
Guillaume Gomez
7cb933ed82
Rollup merge of #35289 - birryree:E0060_E0061_format_update, r=jonathandturner
...
E0060 e0061 format update
This fixes #35215 and fixes #35216 as part of #35233
A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part.
?r @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
da981cf94d
Rollup merge of #35285 - razielgn:updated-e0071-to-new-format, r=jonathandturner
...
Updated E0071 to new format.
Bonus: the span underlines only the name of the thing that's not a struct rather than the whole expression.
Part of #35233 .
Fixes #35220 .
r? @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
9186db86fd
Rollup merge of #35266 - circuitfox:35247-E0109-update-error-format, r=jonathandturner
...
E0109 Update error format
Fixes #35247 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
158597fcd5
Rollup merge of #35264 - GuillaumeGomez:E0132_update, r=jonathandturner
...
E0132 update
Fixes #35258 .
r? @jonathandturner
2016-08-05 16:12:55 +02:00
Guillaume Gomez
5780595e27
Rollup merge of #35239 - dns2utf8:doc_park_timeout, r=steveklabnik
...
Doc `std:🧵 :park_timeout`
r? @steveklabnik
2016-08-05 16:12:55 +02:00
Guillaume Gomez
6e5e7e2ea0
Rollup merge of #35189 - mLuby:patch-1, r=steveklabnik
...
Update the-stack-and-the-heap.md
Was surprised to learn that heaps were used in this way, then realized upon reading [the linked paper](http://www.cs.cmu.edu/afs/cs/academic/class/15213-f98/doc/dsa.pdf ) that it's a totally different type of heap—an important distinction.
2016-08-05 16:12:55 +02:00
Guillaume Gomez
8a923d48e2
Rollup merge of #35182 - frewsxcv:nulerror, r=steveklabnik
...
Add doc example for `std::ffi::NulError::nul_position`.
None
2016-08-05 16:12:55 +02:00
Guillaume Gomez
3ca18f725a
Rollup merge of #35181 - GuillaumeGomez:vec_doc, r=steveklabnik
...
Add doc example for Vec
Fixes #29380 .
r? @steveklabnik
2016-08-05 16:12:54 +02:00
Guillaume Gomez
e377049262
Rollup merge of #35175 - frewsxcv:tcp, r=GuillaumeGomez
...
A couple `std::net` doc improvements.
None
2016-08-05 16:12:54 +02:00
Guillaume Gomez
7971a93698
Rollup merge of #35137 - jongiddy:explicit-wildcard, r=steveklabnik
...
Provide more explicit example of wildcard version in guessing game doc.
Beginners may try to adapt the tutorial to develop their own code.
When using different dependencies, they may use the wildcard for
versioning. Since they are new to the language, they will not know
that the wildcard asterisk is a string, not a token. Make the correct
format more explicit, to remove one potential source of frustration.
2016-08-05 16:12:54 +02:00
Guillaume Gomez
4cf6c00322
Rollup merge of #35109 - GuillaumeGomez:io_docs, r=steveklabnik
...
Add io::Error doc examples
Fixes #29359 .
r? @steveklabnik
2016-08-05 16:12:54 +02:00
Guillaume Gomez
56a89f5314
Rollup merge of #35076 - GuillaumeGomez:file_type_docs, r=steveklabnik
...
Add doc examples for FileType struct
Part of #29356 .
r? @steveklabnik
2016-08-05 16:12:53 +02:00
Guillaume Gomez
494495267c
Rollup merge of #35042 - Havvy:copy_error_doc, r=GuillaumeGomez
...
Add Derive not possible question to Copy
This adds a question and answer to the Q&A section of the Copy
docs. Specifically, it asks the question I asked while reading
the docs, and gives its answer.
cc @steveklabnik
2016-08-05 16:12:53 +02:00
Guillaume Gomez
5afe7bbeea
Rollup merge of #35041 - frewsxcv:range-rangeargument, r=GuillaumeGomez
...
Add doc examples for `range::RangeArgument::{start,end}`.
None
2016-08-05 16:12:53 +02:00
Guillaume Gomez
1bb555257f
Rollup merge of #34319 - zackmdavis:explain_slice_pattern_errors, r=GuillaumeGomez
...
extended information for slice pattern errors (E0527 through E0529)
r? @GuillaumeGomez
2016-08-05 16:12:53 +02:00
Roy Brunton
5eebb92c2f
Update error message for E0166
2016-08-05 15:06:36 +01:00
Niko Matsakis
a6a97a9bb1
rustfmt save.rs
2016-08-05 09:48:22 -04:00
Shantanu Raj
bc258791eb
Update E0207 to use struct_span_err, add span_label
2016-08-05 17:14:47 +05:30
bors
4c02363852
Auto merge of #35317 - TimNN:internal-deprecated, r=eddyb
...
Ignore deprecation for items deprecated by the same attribute
Whenever a node would be reported as deprecated:
- check if the parent item is also deprecated
- if it is and both were deprecated by the same attribute
- skip the deprecation warning
fixes #35128
closes #16490
r? @eddyb
2016-08-05 04:38:41 -07:00
Guillaume Gomez
7cd1779c31
Add new error code tests
2016-08-05 13:17:39 +02:00
kc1212
764d5cfafb
Update E0379 to new format #35338
2016-08-05 22:52:57 +12:00
Ryan Scott
19e140b946
Update E0404 to new format.
2016-08-05 17:36:43 +09:00
Ryan Scott
a6ffa42f7d
Update E0391 to new format.
2016-08-05 17:36:43 +09:00
Vadim Chugunov
751d43ade4
Ignore VS Code settings directory
2016-08-05 00:17:20 -07:00
bors
41fe4b7195
Auto merge of #35283 - shantanuraj:master, r=jonathandturner
...
Update wording on E0080
Part of #35223
Update wording on error E0080. Change "attempted" to "attempt"
r? @GuillaumeGomez
2016-08-05 00:17:18 -07:00
Dominik Boehi
c61cfb0982
Update E0106 error message to new format.
...
This fixes rust/rust-lang#35245
2016-08-05 06:30:41 +02:00
Christian Poveda
8641bc267c
Updated E0081 to new format
2016-08-04 23:22:46 -05:00