-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 33 pull requests #35571
Rollup of 33 pull requests #35571
Commits on Aug 4, 2016
-
Provide a cleaner documentation for 'write!'
Cengiz Can committedAug 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 15be66d - Browse repository at this point
Copy the full SHA 15be66dView commit details -
Use consistent spelling for word 'implementor'
Cengiz Can committedAug 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 800aa92 - Browse repository at this point
Copy the full SHA 800aa92View commit details -
Be more explicit about duck typing
Cengiz Can committedAug 4, 2016 Configuration menu - View commit details
-
Copy full SHA for c630bea - Browse repository at this point
Copy the full SHA c630beaView commit details
Commits on Aug 5, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 751d43a - Browse repository at this point
Copy the full SHA 751d43aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2683e84 - Browse repository at this point
Copy the full SHA 2683e84View commit details
Commits on Aug 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b79e15d - Browse repository at this point
Copy the full SHA b79e15dView commit details
Commits on Aug 7, 2016
-
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.
Configuration menu - View commit details
-
Copy full SHA for 2c563c6 - Browse repository at this point
Copy the full SHA 2c563c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for abe1cc7 - Browse repository at this point
Copy the full SHA abe1cc7View commit details -
Finish fixing the operator precedence tables
Add the unstable `:` colon and `<-` inplace operators.
Configuration menu - View commit details
-
Copy full SHA for 7c1bb9a - Browse repository at this point
Copy the full SHA 7c1bb9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56eba5a - Browse repository at this point
Copy the full SHA 56eba5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec1ef79 - Browse repository at this point
Copy the full SHA ec1ef79View commit details -
Fix formatting of module layout example
Novotnik, Petr committedAug 7, 2016 Configuration menu - View commit details
-
Copy full SHA for 98c6770 - Browse repository at this point
Copy the full SHA 98c6770View commit details -
Configuration menu - View commit details
-
Copy full SHA for f07f093 - Browse repository at this point
Copy the full SHA f07f093View commit details -
Christian Poveda committed
Aug 7, 2016 Configuration menu - View commit details
-
Copy full SHA for 8b111a7 - Browse repository at this point
Copy the full SHA 8b111a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e40df1c - Browse repository at this point
Copy the full SHA e40df1cView commit details
Commits on Aug 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e28521e - Browse repository at this point
Copy the full SHA e28521eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6e17ec - Browse repository at this point
Copy the full SHA c6e17ecView commit details -
book: update example patterns to be more clear
When using Point { x: 0, y: 0 } and showing pattern matching decomposing x and y individually its hard to understand. By using a different value for x and a different value for y it is more clear.
Configuration menu - View commit details
-
Copy full SHA for 18565c6 - Browse repository at this point
Copy the full SHA 18565c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2bd6c - Browse repository at this point
Copy the full SHA bd2bd6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a403ddf - Browse repository at this point
Copy the full SHA a403ddfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb0218 - Browse repository at this point
Copy the full SHA 6eb0218View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee38609 - Browse repository at this point
Copy the full SHA ee38609View commit details -
add test for issue rust-lang#29053
Felix Rath committedAug 8, 2016 Configuration menu - View commit details
-
Copy full SHA for 3c04ba2 - Browse repository at this point
Copy the full SHA 3c04ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for daf7c60 - Browse repository at this point
Copy the full SHA daf7c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40b2e51 - Browse repository at this point
Copy the full SHA 40b2e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 156c822 - Browse repository at this point
Copy the full SHA 156c822View commit details -
Configuration menu - View commit details
-
Copy full SHA for da8fed5 - Browse repository at this point
Copy the full SHA da8fed5View commit details -
srdja committed
Aug 8, 2016 Configuration menu - View commit details
-
Copy full SHA for 0cb8439 - Browse repository at this point
Copy the full SHA 0cb8439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a98d73 - Browse repository at this point
Copy the full SHA 0a98d73View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee076dd - Browse repository at this point
Copy the full SHA ee076ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae9c09d - Browse repository at this point
Copy the full SHA ae9c09dView commit details
Commits on Aug 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b5ead00 - Browse repository at this point
Copy the full SHA b5ead00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adc07f - Browse repository at this point
Copy the full SHA 2adc07fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e8ec43 - Browse repository at this point
Copy the full SHA 0e8ec43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a34d7 - Browse repository at this point
Copy the full SHA 71a34d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20ea8cb - Browse repository at this point
Copy the full SHA 20ea8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a3564a - Browse repository at this point
Copy the full SHA 0a3564aView commit details -
srdja committed
Aug 9, 2016 Configuration menu - View commit details
-
Copy full SHA for aa40ec7 - Browse repository at this point
Copy the full SHA aa40ec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766a0ab - Browse repository at this point
Copy the full SHA 766a0abView commit details -
E0263 updated to new format. rust-lang#35518
Jakub Hlusička committedAug 9, 2016 Configuration menu - View commit details
-
Copy full SHA for 46265a0 - Browse repository at this point
Copy the full SHA 46265a0View commit details
Commits on Aug 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 70e760f - Browse repository at this point
Copy the full SHA 70e760fView commit details -
Rollup merge of rust-lang#35279 - cengizIO:master, r=brson
Provide a cleaner documentation for 'write!' Hello! This is my attempt to fix rust-lang#35110 Any feedback is more than welcome! Cheers!
Configuration menu - View commit details
-
Copy full SHA for 96c39d2 - Browse repository at this point
Copy the full SHA 96c39d2View commit details -
Rollup merge of rust-lang#35358 - vadimcn:vscode, r=steveklabnik
Ignore VS Code settings directory r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 0996264 - Browse repository at this point
Copy the full SHA 0996264View commit details -
Rollup merge of rust-lang#35371 - mgattozzi:master, r=steveklabnik
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. This fixes rust-lang#33817 and includes relevant information regarding changes made in rust-lang#33086
Configuration menu - View commit details
-
Copy full SHA for 192c8b0 - Browse repository at this point
Copy the full SHA 192c8b0View commit details -
Rollup merge of rust-lang#35396 - munyari:e0191, r=jonathandturner
Update E0191 to the new error format Part of rust-lang#35233 "r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 1bad68b - Browse repository at this point
Copy the full SHA 1bad68bView commit details -
Rollup merge of rust-lang#35445 - pcn:update-E0017-to-new-format, r=a…
…rielb1 Update e0017 to new format Updated `span_err!` to use `struct_span_err!` and provide a `span_label` that describes the error in context. Updated the test to look for the `span_label`s that are provided now.
Configuration menu - View commit details
-
Copy full SHA for 52258c7 - Browse repository at this point
Copy the full SHA 52258c7View commit details -
Rollup merge of rust-lang#35446 - pcn:update-E0023-to-new-format, r=j…
…onathandturner 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.
Configuration menu - View commit details
-
Copy full SHA for c867f6c - Browse repository at this point
Copy the full SHA c867f6cView commit details -
Rollup merge of rust-lang#35448 - srinivasreddy:rf_compiletest, r=nik…
…omatsakis run rustfmt on compiletest folder in src/tools/ folder
Configuration menu - View commit details
-
Copy full SHA for 7a1015e - Browse repository at this point
Copy the full SHA 7a1015eView commit details -
Rollup merge of rust-lang#35449 - poveda-ruiz:master, r=jonathandturner
Updated E0087 to new format Part of rust-lang#35233. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 41b00f1 - Browse repository at this point
Copy the full SHA 41b00f1View commit details -
Rollup merge of rust-lang#35452 - ubsan:precedence, r=steveklabnik
Finish fixing the operator precedence tables Add the unstable `:` colon and `<-` inplace operators. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 7316d22 - Browse repository at this point
Copy the full SHA 7316d22View commit details -
Rollup merge of rust-lang#35458 - GuillaumeGomez:test_string_ICE, r=a…
…lexcrichton Add run-pass test for issue 33498 Fixes rust-lang#33498. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 4ac3a9d - Browse repository at this point
Copy the full SHA 4ac3a9dView commit details -
Rollup merge of rust-lang#35465 - cardoe:pattern-book-update, r=steve…
…klabnik book: update example patterns to be more clear When using Point { x: 0, y: 0 } and showing pattern matching decomposing x and y individually its hard to understand. By using a different value for x and a different value for y it is more clear.
Configuration menu - View commit details
-
Copy full SHA for 2c7a05b - Browse repository at this point
Copy the full SHA 2c7a05bView commit details -
Rollup merge of rust-lang#35466 - xitep:master, r=steveklabnik
book: fix formatting of module layout example
Configuration menu - View commit details
-
Copy full SHA for 7377583 - Browse repository at this point
Copy the full SHA 7377583View commit details -
Rollup merge of rust-lang#35470 - munyari:e0214, r=jonathandturner
Update E0214 to the new error format Part of rust-lang#35233 Addresses rust-lang#35383 "r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 9c1e4cb - Browse repository at this point
Copy the full SHA 9c1e4cbView commit details -
Rollup merge of rust-lang#35477 - GuillaumeGomez:fix_E0132, r=jonatha…
…ndturner Fix E0132 error display Error and note now use the same span. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 2c78c42 - Browse repository at this point
Copy the full SHA 2c78c42View commit details -
Rollup merge of rust-lang#35482 - frewsxcv:patch-31, r=GuillaumeGomez
Remove unnecessary `main` functions in doc examples.
Configuration menu - View commit details
-
Copy full SHA for 3d5fe6b - Browse repository at this point
Copy the full SHA 3d5fe6bView commit details -
Rollup merge of rust-lang#35484 - KiChjang:e0205-bonus, r=GuillaumeGomez
Shrink E0205 span label to the trait being implemented Part of rust-lang#35233. Extension of rust-lang#35468. Closes rust-lang#35382. r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for a8d123b - Browse repository at this point
Copy the full SHA a8d123bView commit details -
Rollup merge of rust-lang#35486 - KiChjang:e0081-bonus, r=jonathandtu…
…rner Shrink span to variant discriminant expression for E0081 Part of rust-lang#35233. Extension of rust-lang#35353. Fixes rust-lang#35224. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 1a96a6d - Browse repository at this point
Copy the full SHA 1a96a6dView commit details -
Rollup merge of rust-lang#35504 - razielgn:updated-e0026-to-new-forma…
…t, r=jonathandturner Updated E0026 to new format. Part of rust-lang#35233. Fixes rust-lang#35497. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for e44c7ed - Browse repository at this point
Copy the full SHA e44c7edView commit details -
Rollup merge of rust-lang#35505 - futile:test_29053, r=nikomatsakis
Add test for issue rust-lang#29053 This PR adds a test for rust-lang#29053 (currently fails on stage 0, but works with stage 1, as it should). Fixes rust-lang#29053
Configuration menu - View commit details
-
Copy full SHA for 10cbe14 - Browse repository at this point
Copy the full SHA 10cbe14View commit details -
Rollup merge of rust-lang#35507 - hank-der-hafenarbeiter:master, r=jo…
…nathandturner Updated Error mesage to new format for E0221 Part of rust-lang#35386 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for d021df3 - Browse repository at this point
Copy the full SHA d021df3View commit details -
Rollup merge of rust-lang#35524 - garekkream:update-E0162-new-error-f…
…ormat, r=jonathandturner Update E0162 to the new format Part of rust-lang#35233. Fixes rust-lang#35268. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 8a0d0a6 - Browse repository at this point
Copy the full SHA 8a0d0a6View commit details -
Rollup merge of rust-lang#35526 - munyari:e0033, r=jonathandturner
Update E0033 to the new error format Part of rust-lang#35233 Addresses rust-lang#35498 "r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for dddc8d5 - Browse repository at this point
Copy the full SHA dddc8d5View commit details -
Rollup merge of rust-lang#35528 - Vassah:master, r=jonathandturner
Update Error Format for E0091 and E0092 Addresses [rust-lang#35228](rust-lang#35228) and [rust-lang#35229](rust-lang#35229) as part of [rust-lang#35233](rust-lang#35233). Please let me know if there are any issues; first time contributor. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 5847faa - Browse repository at this point
Copy the full SHA 5847faaView commit details -
Rollup merge of rust-lang#35530 - srdja:master, r=jonathandturner
Update E0008 and E0007 to new format Part of rust-lang#35233 A fix for rust-lang#35496 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for c65f1a5 - Browse repository at this point
Copy the full SHA c65f1a5View commit details -
Rollup merge of rust-lang#35532 - KiChjang:e0004-follow-up, r=jonatha…
…ndturner Do not span across nodes for E0004 Part of rust-lang#35233. Fixes rust-lang#35529. r? @arielb1
Configuration menu - View commit details
-
Copy full SHA for ecbb3e3 - Browse repository at this point
Copy the full SHA ecbb3e3View commit details -
Rollup merge of rust-lang#35536 - hank-der-hafenarbeiter:E0433, r=jon…
…athandturner Updated E0433 to new error message. (no bonus) Part of rust-lang#35345 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 61915b4 - Browse repository at this point
Copy the full SHA 61915b4View commit details -
Rollup merge of rust-lang#35537 - munyari:e0038, r=jonathandturner
Update E0038 to the new error format Part of rust-lang#35233 Addresses rust-lang#35500 "r? @jonathandturner This doesn't compile yet, and I need help. In my naive solution, adding the span label makes our error message a mutable `errors::DiagnosticBuilder` pointer. ```bash python src/bootstrap/bootstrap.py --step check-cfail E0038 --stage 1 ``` ``` Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling rustc v0.0.0 (file:///home/nash/code/rust/src/librustc) src/librustc/traits/error_reporting.rs:735:9: 735:12 error: mismatched types [E0308] src/librustc/traits/error_reporting.rs:735 err ^~~ src/librustc/traits/error_reporting.rs:735:9: 735:12 help: run `rustc --explain E0308` to see a detailed explanation src/librustc/traits/error_reporting.rs:735:9: 735:12 note: expected type `core::option::Option<errors::DiagnosticBuilder<'tcx>>` src/librustc/traits/error_reporting.rs:735:9: 735:12 note: found type `core::option::Option<&mut errors::DiagnosticBuilder<'_>>` error: aborting due to previous error error: Could not compile `rustc`. To learn more, run the command again with --verbose. command did not execute successfully: "/home/nash/code/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "-j" "4" "--target" "x86_64-unknown-linux-gnu" "--release" "--features" " jemalloc" "--manifest-path" "/home/nash/code/rust/src/rustc/Cargo.toml" expected success, got: exit code: 101 ```
Configuration menu - View commit details
-
Copy full SHA for 0e71e44 - Browse repository at this point
Copy the full SHA 0e71e44View commit details -
Rollup merge of rust-lang#35541 - hank-der-hafenarbeiter:E0045, r=jon…
…athandturner Updated E0045 to new error format (no bonus) Part of rust-lang#35501 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 01d61a1 - Browse repository at this point
Copy the full SHA 01d61a1View commit details -
Rollup merge of rust-lang#35552 - theypsilon:master, r=jonathandturner
Update error message E0384 to new format Part of rust-lang#35233 Fixes rust-lang#35184 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 785d0f5 - Browse repository at this point
Copy the full SHA 785d0f5View commit details -
Rollup merge of rust-lang#35554 - murarth:insert-str-issue, r=apasel422
Add tracking issue for `String::insert_str`
Configuration menu - View commit details
-
Copy full SHA for 928d105 - Browse repository at this point
Copy the full SHA 928d105View commit details -
Rollup merge of rust-lang#35555 - circuitfox:E0128-update-error-forma…
…t, r=jonathandturner E0128 update error format Fixes rust-lang#35508 Part of rust-lang#35233 r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 5506990 - Browse repository at this point
Copy the full SHA 5506990View commit details -
Rollup merge of rust-lang#35557 - Limeth:master, r=jonathandturner
E0263 updated to new format. Fixes rust-lang#35518. Part of rust-lang#35233. r? @jonathandturner
Configuration menu - View commit details
-
Copy full SHA for 11a6619 - Browse repository at this point
Copy the full SHA 11a6619View commit details -
Rollup merge of rust-lang#35562 - birkenfeld:as-mut-doc, r=steveklabnik
Remove redundant `&mut ref mut` in doc for Result::as_mut() While a good example of how `&mut ref mut` is a no-op, I don't think we should show that here :) See https://users.rust-lang.org/t/mnemonic-for-reading-qualifiers/6853 r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 0db7846 - Browse repository at this point
Copy the full SHA 0db7846View commit details