1. 27 3月, 2021 4 次提交
    • Ö
      format macro argument parsing fix · 5b9bac2a
      Ömer Sinan Ağacan 提交于
      When the character next to `{}` is "shifted" (when mapping a byte index
      in the format string to span) we should avoid shifting the span end
      index, so first map the index of `}` to span, then bump the span,
      instead of first mapping the next byte index to a span (which causes
      bumping the end span too much).
      
      Regression test added.
      
      Fixes #83344
      5b9bac2a
    • B
      Auto merge of #83418 - ehuss:update-cargo, r=ehuss · f811f140
      bors 提交于
      Update cargo
      
      12 commits in 90691f2bfe9a50291a98983b1ed2feab51d5ca55..1e8703890f285befb5e32627ad4e0a0454dde1fb
      2021-03-16 21:36:55 +0000 to 2021-03-26 16:59:39 +0000
      - tests: Tolerate "exit status" in error messages (rust-lang/cargo#9307)
      - Default macOS targets to `unpacked` debuginfo (rust-lang/cargo#9298)
      - Fix publication of packages with metadata and resolver (rust-lang/cargo#9300)
      - Fix config includes not working. (rust-lang/cargo#9299)
      - Emit note when `--future-incompat-report` had nothing to report (rust-lang/cargo#9263)
      - RFC 3052: Stop including authors field in manifests made by cargo new (rust-lang/cargo#9282)
      - Refactor feature handling, and improve error messages. (rust-lang/cargo#9290)
      - Split out cargo-util package for cargo-test-support. (rust-lang/cargo#9292)
      - Fix redundant_semicolons warning in resolver-tests. (rust-lang/cargo#9293)
      - Use serde's error message option to avoid implementing `Deserialize`. (rust-lang/cargo#9237)
      - Allow `cargo update` to operate with the --offline flag (rust-lang/cargo#9279)
      - Fix typo in faq.md (rust-lang/cargo#9285)
      f811f140
    • E
      Update cargo · ea194b8b
      Eric Huss 提交于
      ea194b8b
    • B
      Auto merge of #83488 - Aaron1011:ban-expr-inner-attrs, r=petrochenkov · 5e65467e
      bors 提交于
      Ban custom inner attributes in expressions and statements
      
      Split out from https://github.com/rust-lang/rust/pull/82608
      
      Custom inner attributes are unstable, so this won't break any stable users.
      This allows us to speed up token collection, and avoid a redundant call to `collect_tokens_no_attrs` when parsing an `Expr` that has outer attributes.
      
      r? `@petrochenkov`
      5e65467e
  2. 26 3月, 2021 30 次提交
  3. 25 3月, 2021 6 次提交