Skip to content
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 9 pull requests #90109

Closed
wants to merge 26 commits into from

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    734bfde View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Clarify docs on what IPv4 octal addresses are

    The way octal literals are written in IP addresses differs from the way
    they are written in Rust code, so the way that octal/hex literals in IPs
    are written is explictly mentioned.
    syvb committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    69de693 View commit details
    Browse the repository at this point in the history
  2. Reject too-long IPs quicker

    Now that there can't be a bunch of leading zeros, parsing can be
    optimized a bit.
    syvb committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    b9b97bb View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. Simplify leading zero checks

    syvb committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    a331e5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ace518d View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Specify maximum IP address length

    Co-authored-by: Cheng XU <[email protected]>
    syvb and xu-cheng authored Aug 10, 2021
    Configuration menu
    Copy the full SHA
    403d269 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. Configuration menu
    Copy the full SHA
    4a37b9c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. config: add the option to enable LLVM tests

    I'm working on some LLVM patches in concert with a Rust patch, and it's
    helping me quite a bit to have this as an option. It doesn't seem that
    hard, so I figured I'd formalize it in x.py and send it upstream.
    durin42 committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    f2a234e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8b5af1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05eb6f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e98688 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. replace format!("") with String::new()

    use array explicitly instead of vec for const content (even if optimizer smart enought to remove allocation)
    klensy committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    aad48f7 View commit details
    Browse the repository at this point in the history
  2. use array explicitly instead of vec for const content (even if optimi…

    …zer smart enought to remove allocation)
    klensy committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    f3fb821 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    457f578 View commit details
    Browse the repository at this point in the history
  4. 6 Configuration menu
    Copy the full SHA
    0aa68a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50dc319 View commit details
    Browse the repository at this point in the history
  6. Add test to ensure that the missing_doc_code_examples is not triggere…

    …d on foreign trait implementations
    GuillaumeGomez committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    69ca324 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#86984 - Smittyvb:ipv4-octal-zero, r=m-ou-se

    Reject octal zeros in IPv4 addresses
    
    This fixes rust-lang#86964 by rejecting octal zeros in IP addresses, such that `192.168.00.00000000` is rejected with a parse error, since having leading zeros in front of another zero indicates it is a zero written in octal notation, which is not allowed in the strict mode specified by RFC 6943 3.1.1. Octal rejection was implemented in rust-lang#83652, but due to the way it was implemented octal zeros were still allowed.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    acbaf2f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#90010 - rusticstuff:vecdeque_with_capacity_…

    …in_overflow, r=m-ou-se
    
    Avoid overflow in `VecDeque::with_capacity_in()`.
    
    The overflow only happens if alloc is compiled with overflow checks enabled and the passed capacity is greater or equal 2^(usize::BITS-1). The overflow shadows the expected "capacity overflow" panic leading to a test failure if overflow checks are enabled for std in the CI.
    
    Unblocks [CI: Enable overflow checks for test (non-dist) builds rust-lang#89776](rust-lang#89776).
    
    For some reason the overflow is only observable with optimization turned off, but that is a separate issue.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    6264bad View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#90031 - durin42:allow-llvm-tests, r=Mark-Si…

    …mulacrum
    
    config: add the option to enable LLVM tests
    
    I'm working on some LLVM patches in concert with a Rust patch, and it's
    helping me quite a bit to have this as an option. It doesn't seem that
    hard, so I figured I'd formalize it in x.py and send it upstream.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    5751f89 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#90048 - GuillaumeGomez:line-number-setting,…

    … r=jsha
    
    Add test for line-number setting
    
    The first commit updates the version of the package to be able to have multi-line commands (which looks much nicer for this test).
    
    r? ``@jsha``
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    e4a340c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#90071 - cjgillot:no-blocks, r=oli-obk

    Remove hir::map::blocks and use FnKind instead
    
    The principal tool is `FnLikeNode`, which is not often used and can be easily implemented using `rustc_hir::intravisit::FnKind`.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    27e5c43 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#90074 - klensy:upvar-all, r=wesleywiser

    2229 migrations small cleanup
    
    This removes needless `format!`'ing of empty string and replaces `vec!` with const strings with const array.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    47aeca0 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#90097 - GuillaumeGomez:duplicated-sidebar-e…

    …ntry-reexported-macro, r=notriddle
    
    Add test for duplicated sidebar entries for reexported macro
    
    Fixes rust-lang#90015.
    
    r? ``@notriddle``
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    d5cd6e0 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#90098 - GuillaumeGomez:add-test-foreign-imp…

    …l-missing-doc-code-examples, r=jyn514
    
    Add test to ensure that the missing_doc_code_examples is not triggered on foreign trait implementations
    
    Fixes rust-lang#76450.
    
    r? ``@jyn514``
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    77a5781 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#90099 - SkiFire13:fix-vec-swap-remove, r=dt…

    …olnay
    
    Fix MIRI UB in `Vec::swap_remove`
    
    Fixes rust-lang#90055
    
    I find it weird that `Vec::swap_remove` read the last element to the stack just to immediately put it back in the `Vec` in place of the one at index `index`. It seems much more natural to me to just read the element at position `index` and then move the last element in its place. I guess this might also slightly improve codegen.
    GuillaumeGomez authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    0794293 View commit details
    Browse the repository at this point in the history