profile
viewpoint
Yuki Okushi JohnTitor Japan https://www.neet.club a.k.a. huyuumi | FLOSS nerd, Time traveler | community and crates.io @rust-lang, mods and i18n @nodejs, lead @actix, etc.

gatsbyjs/gatsby 47601

Build blazing fast, modern apps and websites with React

actix/actix-extras 115

A collection of additional crates supporting the actix and actix-web frameworks.

actix/actix-web-httpauth 79

Moved to actix-extras repo.

JohnTitor/actions-mdbook 2

[WIP] Wraps the mdbook to enable common mdbook commands

pull request commentrust-lang/rust

Rollup of 16 pull requests

@bors r+ rollup=never p=5 @rustbot modify labels: rollup

JohnTitor

comment created time in 26 minutes

PR opened rust-lang/rust

Rollup of 16 pull requests

Successful merges:

  • #76635 (Add [T]::as_chunks(_mut))
  • #77703 (add system-llvm-libunwind config option)
  • #78219 (Prefer to use print_def_path)
  • #78298 (Add test for bad NLL higher-ranked subtype)
  • #78332 (Update description for error E0308)
  • #78342 (Use check-pass in single-use-lifetime ui tests)
  • #78347 (Add lexicographical comparison doc)
  • #78348 (Make some functions private that don't have to be public)
  • #78349 (Use its own TypeckResults to avoid ICE)
  • #78375 (Use ? in core/std macros)
  • #78377 (Fix typo in debug statement)
  • #78388 (Add some regression tests)
  • #78394 (fix(docs): typo in BufWriter documentation)
  • #78396 (Add compiler support for LLVM's x86_64 ERMSB feature)
  • #78405 (Fix typo in lint description)
  • #78412 (Improve formatting of hash collections docs)

Failed merges:

r? @ghost

+558 -262

0 comment

51 changed files

pr created time in 27 minutes

push eventJohnTitor/rust

Camelid

commit sha 59f108885ed38c7f7049a1830b7c50205989cb17

Improve formatting of hash collections docs

view details

Yuki Okushi

commit sha 4236d27c9bb0af5cbdfaaa840b211827c65fb1ee

Rollup merge of #78412 - camelid:cleanup-hash-docs, r=jonas-schievink Improve formatting of hash collections docs

view details

push time in 27 minutes

push eventJohnTitor/rust

Michael Howell

commit sha 74a98912354324e985b087923bf0448e98f309d4

Fix typo in lint description

view details

Yuki Okushi

commit sha 7824d9abbd06b212a45d79bf2dea6d24b3509eb9

Rollup merge of #78405 - notriddle:patch-3, r=lcnr Fix typo in lint description

view details

push time in 27 minutes

push eventJohnTitor/rust

Joe Richey

commit sha ad552bc17e9e494e039f3db180d4e63be44fe889

Add compiler support for LLVM's x86 ERMSB feature This change is needed for compiler-builtins to check for this feature when implementing memcpy/memset. See: https://github.com/rust-lang/compiler-builtins/pull/365 The change just does compile-time detection. I think that runtime detection will have to come in a follow-up CL to std-detect. Like all the CPU feature flags, this just references #44839 Signed-off-by: Joe Richey <joerichey@google.com>

view details

Yuki Okushi

commit sha 46b8e46fe123537616c09b5f431558f1e1e2c172

Rollup merge of #78396 - josephlr:ermsb, r=petrochenkov Add compiler support for LLVM's x86_64 ERMSB feature This change is needed for compiler-builtins to check for this feature when implementing memcpy/memset. See: https://github.com/rust-lang/compiler-builtins/pull/365 Without this change, the following code compiles, but does nothing: ```rust #[cfg(target_feature = "ermsb")] pub unsafe fn ermsb_memcpy() { ... } ``` The change just does compile-time detection. I think that runtime detection will have to come in a follow-up CL to std-detect. Like all the CPU feature flags, this just references #44839 Signed-off-by: Joe Richey <joerichey@google.com>

view details

push time in 27 minutes

push eventJohnTitor/rust

Michele Lacchia

commit sha a4ba179bdddcabae1947eb307ec017d576ae4b3a

fix(docs): typo in BufWriter documentation

view details

Yuki Okushi

commit sha f6f8764b25186174e812296f8d9cd4cff734e917

Rollup merge of #78394 - rubik:master, r=m-ou-se fix(docs): typo in BufWriter documentation This PR fixes a small typo in the BufWriter documentation. The current documentation looks like this: ![2020-10-26-111501_438x83_scrot](https://user-images.githubusercontent.com/238549/97160357-83d3a000-177c-11eb-8a35-3cdd3a7d89de.png) The `<u8>` at the end is mangled by Markdown. This PR makes the `BufWriter` documentation like the `BufReader` one: https://github.com/rust-lang/rust/blob/master/library/std/src/io/buffered/bufreader.rs#L16 I'm tagging Steve as per the Rustc dev guide. r? @steveklabnik

view details

push time in 27 minutes

push eventJohnTitor/rust

Camelid

commit sha 94ed9455e831e820041291165576a4f78e6e722a

Add some regression tests

view details

Camelid

commit sha 4641d2e6aa990d3fb6730a3208e9fd857f52eb33

Add FIXME note to const generics test Co-authored-by: lcnr <bastian_kauschke@hotmail.de>

view details

Yuki Okushi

commit sha 98e2a9564f338e0f30cbcf6f99762b2a4b3dae14

Rollup merge of #78388 - camelid:regression-tests, r=lcnr Add some regression tests Closes #75763. Closes #76179.

view details

push time in 27 minutes

create barnchJohnTitor/rust

branch : rollup-bq2d7fo

created branch time in 27 minutes

push eventJohnTitor/rust

LeSeulArtichaut

commit sha 9de15188b018cc2891cac00c4c5b19b95cc63c7d

Fix typo in debug statement

view details

Yuki Okushi

commit sha b72d70ef6187f533cb2833fd095d172b59e05f9b

Rollup merge of #78377 - LeSeulArtichaut:patch-docs, r=jonas-schievink Fix typo in debug statement

view details

push time in 27 minutes

push eventJohnTitor/rust

Taiki Endo

commit sha 04c0018d1b08875b6e51205d2b62b67925b6238a

Use ? in core/std macros

view details

Yuki Okushi

commit sha 5a33fa5179ea5aff741285215cdb9555b8c794dc

Rollup merge of #78375 - taiki-e:question-in-macros, r=kennytm Use ? in core/std macros

view details

push time in 27 minutes

push eventJohnTitor/rust

Yuki Okushi

commit sha 88d39673d7147af0d33705ffe06a83876e70aa2d

Use its own `TypeckResults` to avoid ICE

view details

Yuki Okushi

commit sha 4f345377082ab564cd83d0cb7f805e2a97594366

Fix small typos

view details

Yuki Okushi

commit sha 6abd2a59e7f1097ed27b37df32481db1934c4d82

Rollup merge of #78349 - JohnTitor:issue-75962, r=davidtwco Use its own `TypeckResults` to avoid ICE Fixes #75962

view details

push time in 27 minutes

push eventJohnTitor/rust

Joshua Nelson

commit sha e2183801b592464a56f9979dd12929500421948a

Make some functions private that don't have to be public

view details

Yuki Okushi

commit sha ae5442582d09f21d10c938c1244e8c3964e587c3

Rollup merge of #78348 - jyn514:pub-crate, r=GuillaumeGomez Make some functions private that don't have to be public r? @GuillaumeGomez

view details

push time in 27 minutes

push eventJohnTitor/rust

Rustin-Liu

commit sha 42844ed2cf4ca0ff2a9271e0aaa8e5910c5f4ccd

Add lexicographical comparison doc Add links Fix typo Use `sequence` Fix typo Fix broken link Fix broken link Fix broken link Fix broken links Fix broken links

view details

Yuki Okushi

commit sha 727e93dc747b4f4af0f0b300b659f5f3a0c32493

Rollup merge of #78347 - Rustin-Liu:rustin-patch-doc, r=kennytm Add lexicographical comparison doc close https://github.com/rust-lang/rust/issues/72255

view details

push time in 27 minutes

push eventJohnTitor/rust

Olivia Crain

commit sha cc468c0829dd159a50359441989c06834faa6a00

Use check-pass in single-use-lifetime ui test suite

view details

Yuki Okushi

commit sha afdd148c0388e4900d18cf8a920b3db428d1ba95

Rollup merge of #78342 - oliviacrain:checkmate-pass, r=Mark-Simulacrum Use check-pass in single-use-lifetime ui tests Rationale: the `single_use_lifetimes` lint is used during late name resolution, which is within the scope of `check-pass` and does not require codegen or linking. Helps remove some FIXMES associated with #62277. Additionally tidies touched test files.

view details

push time in 27 minutes

push eventJohnTitor/rust

Olivier FAURE

commit sha 666afba684c153d8942ce5f62581dbcb79452150

Update description for error E0308 As per #76462

view details

Yuki Okushi

commit sha 0b72ca6ea6a57c9b3395e42b8340dcbad2cbbf24

Rollup merge of #78332 - PoignardAzur:doc_E0308, r=camelid Update description for error E0308 Fixes #76462 r? @camelid

view details

push time in 27 minutes

push eventJohnTitor/rust

Aaron Hill

commit sha 59232187617c6bc2c7ca1bc748b8d93fc685430f

Add test for bad NLL higher-ranked subtype Fixes #57642

view details

Yuki Okushi

commit sha 9d7db4891bf6a8445b05a50cddb2d45883e2cb41

Rollup merge of #78298 - Aaron1011:fix/nll-ranked-test, r=Mark-Simulacrum Add test for bad NLL higher-ranked subtype Fixes #57642

view details

push time in 27 minutes

push eventJohnTitor/rust

Yuki Okushi

commit sha 6fdd53b7de6bbc6d8739774bd74febc31ac08e3f

Prefer to use `print_def_path`

view details

Yuki Okushi

commit sha f3c94374b9ce51acb9ff49307e9f5cae6daee95e

Rollup merge of #78219 - JohnTitor:print-def-path, r=estebank Prefer to use `print_def_path` Follow-up of https://github.com/rust-lang/rust/pull/71310#discussion_r415438577

view details

push time in 27 minutes

push eventJohnTitor/rust

Marc-Antoine Perennou

commit sha 66fa42a94627dc04de6d44227c5d06fec6b26d76

allow using the system-wide llvm-libunwind as the unwinder Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>

view details

Yuki Okushi

commit sha 2c307fab49834c631529d5485beda2727b020c43

Rollup merge of #77703 - Keruspe:system-libunwind, r=Mark-Simulacrum add system-llvm-libunwind config option allows using the system-wide llvm-libunwind as the unwinder Workaround for #76020

view details

push time in 27 minutes

push eventJohnTitor/rust

Scott McMurray

commit sha 652f34d2709ec0c323ae632ba14992f80ebf7629

Add [T]::as_chunks_mut (as unstable) Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`. The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own.

view details

Yuki Okushi

commit sha 13e88d63662f682eb672ae21a99b4ca4ffffc7dd

Rollup merge of #76635 - scottmcm:slice-as-chunks, r=LukasKalbertodt Add [T]::as_chunks(_mut) Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`. The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own. Unstable, of course. #74985

view details

push time in 28 minutes

startedNukesor/pueue

started time in 15 hours

delete branch JohnTitor/rust

delete branch : issue-78262

delete time in 17 hours

push eventJohnTitor/roa-button

dependabot-preview[bot]

commit sha edbb16bcd8564f26ee6758402864e48ef21b66f9

chore(deps-dev): bump eslint from 7.11.0 to 7.12.0 Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Yuki Okushi

commit sha 20cfa3b153aa88d8bff3c15a20ffadd8f414bd1e

Merge pull request #100 from JohnTitor/dependabot/npm_and_yarn/eslint-7.12.0 chore(deps-dev): bump eslint from 7.11.0 to 7.12.0

view details

push time in 19 hours

PR merged JohnTitor/roa-button

chore(deps-dev): bump eslint from 7.11.0 to 7.12.0 dependencies

Bumps eslint from 7.11.0 to 7.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p> <blockquote> <h2>v7.12.0</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/cbf3585f1d6c60414c07380367a8b4505ee3538d"><code>cbf3585</code></a> Update: skip keyword check for fns in space-before-blocks (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13553">#13553</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13712">#13712</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/256f656455b47bcf9ed3fc30fbf72532678f97da"><code>256f656</code></a> Fix: autofix shouldn't produce template literals with <code>\8</code> or <code>\9</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13737">#13737</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/b165aa5f4d4d19328f13ab80e5f058cbce94c3a6"><code>b165aa5</code></a> Fix: yoda rule autofix produces syntax errors with adjacent tokens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13760">#13760</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/3175316db26aebef4b19e269aca90c8ce3955363"><code>3175316</code></a> Fix: prefer-destructuring invalid autofix with comma operator (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13761">#13761</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/1a9f17151a4e93eb17c8a2bf4f0a5320cce616de"><code>1a9f171</code></a> Chore: Remove more ESLintRC-related files (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13481">#13481</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13762">#13762</a>) (Nicholas C. Zakas)</li> <li><a href="https://github.com/eslint/eslint/commit/bfddcedace5587d662c840c2edf33062b54a178e"><code>bfddced</code></a> Update: remove suggestion if it didn't provide a fix (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13723">#13723</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13772">#13772</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/5183b14a2420b42b4089fb134a61ae57142f31fd"><code>5183b14</code></a> Update: check template literal in no-script-url (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13775">#13775</a>) (YeonJuan)</li> <li><a href="https://github.com/eslint/eslint/commit/bfe97d2332e711ca76b1fd2e7f8548b0cc84cb1c"><code>bfe97d2</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/6c51adeb86f1de292cd02d2ee19f7b56182e358b"><code>6c51ade</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/603de04cab5e700df12999af2918decd4da9d11b"><code>603de04</code></a> Update: treat all literals like boolean literal in no-constant-condition (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13245">#13245</a>) (Zen)</li> <li><a href="https://github.com/eslint/eslint/commit/289aa6fcef3874ba5f86455f9302dc4209ea83e5"><code>289aa6f</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/9a1f6694e59eb3e584d4c5a98b98675c895a9783"><code>9a1f669</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/637f8187404ded600fb3d4013b3cd495d5ae675b"><code>637f818</code></a> Docs: add more examples for no-func-assign (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13705">#13705</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13777">#13777</a>) (Nitin Kumar)</li> <li><a href="https://github.com/eslint/eslint/commit/17cc0dd9b5d2d500359c36881cd3e5637443c133"><code>17cc0dd</code></a> Chore: add test case for no-func-assign (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13705">#13705</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13783">#13783</a>) (Nitin Kumar)</li> <li><a href="https://github.com/eslint/eslint/commit/dee0f7764a1d5a323c89b22c4db94acee2b3c718"><code>dee0f77</code></a> Docs: add TOC to user-guide/configuring.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13727">#13727</a>) (metasean)</li> <li><a href="https://github.com/eslint/eslint/commit/05106212985cb1ffa1e6fa996a57f6fd2fc3c970"><code>0510621</code></a> Update: Fix && vs || short-circuiting false negatives (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13634">#13634</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13769">#13769</a>) (Brandon Mills)</li> <li><a href="https://github.com/eslint/eslint/commit/8b6ed691c48189b7d096339441a78cb5874d4137"><code>8b6ed69</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/145750991b04fd4cfb3fff3c5d4211a4428e011c"><code>1457509</code></a> Docs: fix broken links in Node.js API docs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13771">#13771</a>) (Laura Barluzzi)</li> <li><a href="https://github.com/eslint/eslint/commit/7c813d458f9aedf7a94351d137728a4647542879"><code>7c813d4</code></a> Docs: Fix typo in v7 migration page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13778">#13778</a>) (Yusuke Sasaki)</li> <li><a href="https://github.com/eslint/eslint/commit/b0257953be704d0bb387fc15afd7859fd6f19ba5"><code>b025795</code></a> Docs: Fix the format option name in the document (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13770">#13770</a>) (Hideki Igarashi)</li> <li><a href="https://github.com/eslint/eslint/commit/84fd591c234accc41bb5af555f178825012fd35d"><code>84fd591</code></a> Chore: Increase Mocha timeout for copying fixtures (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13768">#13768</a>) (Brandon Mills)</li> <li><a href="https://github.com/eslint/eslint/commit/1faeb84e663d88c5d85a3cb3f15cd224cc552c2d"><code>1faeb84</code></a> Docs: clarify that space-unary-ops doesn't apply when space is required (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13767">#13767</a>) (Taylor Morgan)</li> <li><a href="https://github.com/eslint/eslint/commit/67c06059dd1ddcee6f369c650ce71220da1510c3"><code>67c0605</code></a> Update: check computed keys in no-prototype-builtins (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13088">#13088</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13755">#13755</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/b5e011c865e95d700d29cb9a4ba71c671d99e423"><code>b5e011c</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p> <blockquote> <p>v7.12.0 - October 23, 2020</p> <ul> <li><a href="https://github.com/eslint/eslint/commit/cbf3585f1d6c60414c07380367a8b4505ee3538d"><code>cbf3585</code></a> Update: skip keyword check for fns in space-before-blocks (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13553">#13553</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13712">#13712</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/256f656455b47bcf9ed3fc30fbf72532678f97da"><code>256f656</code></a> Fix: autofix shouldn't produce template literals with <code>\8</code> or <code>\9</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13737">#13737</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/b165aa5f4d4d19328f13ab80e5f058cbce94c3a6"><code>b165aa5</code></a> Fix: yoda rule autofix produces syntax errors with adjacent tokens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13760">#13760</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/3175316db26aebef4b19e269aca90c8ce3955363"><code>3175316</code></a> Fix: prefer-destructuring invalid autofix with comma operator (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13761">#13761</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/1a9f17151a4e93eb17c8a2bf4f0a5320cce616de"><code>1a9f171</code></a> Chore: Remove more ESLintRC-related files (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13481">#13481</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13762">#13762</a>) (Nicholas C. Zakas)</li> <li><a href="https://github.com/eslint/eslint/commit/bfddcedace5587d662c840c2edf33062b54a178e"><code>bfddced</code></a> Update: remove suggestion if it didn't provide a fix (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13723">#13723</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13772">#13772</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/5183b14a2420b42b4089fb134a61ae57142f31fd"><code>5183b14</code></a> Update: check template literal in no-script-url (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13775">#13775</a>) (YeonJuan)</li> <li><a href="https://github.com/eslint/eslint/commit/bfe97d2332e711ca76b1fd2e7f8548b0cc84cb1c"><code>bfe97d2</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/6c51adeb86f1de292cd02d2ee19f7b56182e358b"><code>6c51ade</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/603de04cab5e700df12999af2918decd4da9d11b"><code>603de04</code></a> Update: treat all literals like boolean literal in no-constant-condition (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13245">#13245</a>) (Zen)</li> <li><a href="https://github.com/eslint/eslint/commit/289aa6fcef3874ba5f86455f9302dc4209ea83e5"><code>289aa6f</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/9a1f6694e59eb3e584d4c5a98b98675c895a9783"><code>9a1f669</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/637f8187404ded600fb3d4013b3cd495d5ae675b"><code>637f818</code></a> Docs: add more examples for no-func-assign (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13705">#13705</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13777">#13777</a>) (Nitin Kumar)</li> <li><a href="https://github.com/eslint/eslint/commit/17cc0dd9b5d2d500359c36881cd3e5637443c133"><code>17cc0dd</code></a> Chore: add test case for no-func-assign (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13705">#13705</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13783">#13783</a>) (Nitin Kumar)</li> <li><a href="https://github.com/eslint/eslint/commit/dee0f7764a1d5a323c89b22c4db94acee2b3c718"><code>dee0f77</code></a> Docs: add TOC to user-guide/configuring.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13727">#13727</a>) (metasean)</li> <li><a href="https://github.com/eslint/eslint/commit/05106212985cb1ffa1e6fa996a57f6fd2fc3c970"><code>0510621</code></a> Update: Fix && vs || short-circuiting false negatives (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13634">#13634</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13769">#13769</a>) (Brandon Mills)</li> <li><a href="https://github.com/eslint/eslint/commit/8b6ed691c48189b7d096339441a78cb5874d4137"><code>8b6ed69</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="https://github.com/eslint/eslint/commit/145750991b04fd4cfb3fff3c5d4211a4428e011c"><code>1457509</code></a> Docs: fix broken links in Node.js API docs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13771">#13771</a>) (Laura Barluzzi)</li> <li><a href="https://github.com/eslint/eslint/commit/7c813d458f9aedf7a94351d137728a4647542879"><code>7c813d4</code></a> Docs: Fix typo in v7 migration page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13778">#13778</a>) (Yusuke Sasaki)</li> <li><a href="https://github.com/eslint/eslint/commit/b0257953be704d0bb387fc15afd7859fd6f19ba5"><code>b025795</code></a> Docs: Fix the format option name in the document (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13770">#13770</a>) (Hideki Igarashi)</li> <li><a href="https://github.com/eslint/eslint/commit/84fd591c234accc41bb5af555f178825012fd35d"><code>84fd591</code></a> Chore: Increase Mocha timeout for copying fixtures (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13768">#13768</a>) (Brandon Mills)</li> <li><a href="https://github.com/eslint/eslint/commit/1faeb84e663d88c5d85a3cb3f15cd224cc552c2d"><code>1faeb84</code></a> Docs: clarify that space-unary-ops doesn't apply when space is required (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13767">#13767</a>) (Taylor Morgan)</li> <li><a href="https://github.com/eslint/eslint/commit/67c06059dd1ddcee6f369c650ce71220da1510c3"><code>67c0605</code></a> Update: check computed keys in no-prototype-builtins (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13088">#13088</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13755">#13755</a>) (Milos Djermanovic)</li> <li><a href="https://github.com/eslint/eslint/commit/b5e011c865e95d700d29cb9a4ba71c671d99e423"><code>b5e011c</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eslint/eslint/commit/3e7cd1676cb23e89cadf7761881a15d3f2f0a49e"><code>3e7cd16</code></a> 7.12.0</li> <li><a href="https://github.com/eslint/eslint/commit/9ddf9d74898585780e77f099f09cddf898131e6f"><code>9ddf9d7</code></a> Build: changelog update for 7.12.0</li> <li><a href="https://github.com/eslint/eslint/commit/cbf3585f1d6c60414c07380367a8b4505ee3538d"><code>cbf3585</code></a> Update: skip keyword check for fns in space-before-blocks (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13553">#13553</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13">#13</a>...</li> <li><a href="https://github.com/eslint/eslint/commit/256f656455b47bcf9ed3fc30fbf72532678f97da"><code>256f656</code></a> Fix: autofix shouldn't produce template literals with <code>\8</code> or <code>\9</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13737">#13737</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/b165aa5f4d4d19328f13ab80e5f058cbce94c3a6"><code>b165aa5</code></a> Fix: yoda rule autofix produces syntax errors with adjacent tokens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13760">#13760</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/3175316db26aebef4b19e269aca90c8ce3955363"><code>3175316</code></a> Fix: prefer-destructuring invalid autofix with comma operator (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13761">#13761</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/1a9f17151a4e93eb17c8a2bf4f0a5320cce616de"><code>1a9f171</code></a> Chore: Remove more ESLintRC-related files (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13481">#13481</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13762">#13762</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/bfddcedace5587d662c840c2edf33062b54a178e"><code>bfddced</code></a> Update: remove suggestion if it didn't provide a fix (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13723">#13723</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13772">#13772</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/5183b14a2420b42b4089fb134a61ae57142f31fd"><code>5183b14</code></a> Update: check template literal in no-script-url (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13775">#13775</a>)</li> <li><a href="https://github.com/eslint/eslint/commit/bfe97d2332e711ca76b1fd2e7f8548b0cc84cb1c"><code>bfe97d2</code></a> Sponsors: Sync README with website</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.11.0...v7.12.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+10 -10

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 19 hours

PullRequestReviewEvent

push eventJohnTitor/rust

rail

commit sha dc89bb1135afc31fc9ee2272e627192c04354d22

Use if_chain in Increment/InitializeVisitor

view details

rail

commit sha 116f30dc33d9e3744f257f2f7f5467acfbff178b

Use else blocks instead of return statements in Increment/InitializeVisitor

view details

rail

commit sha b2d5b89a1de15df9052fdf44d01b174add82837f

Check if it's after the loop earlier

view details

rail

commit sha 31cb1109648bf4242cab47571343578244e7fb9d

add concinient methods to Increment/InitializeVisitor

view details

rail

commit sha c599e2fcfaaedb12b560f4136bab3d0b450acf8f

Split VarState

view details

rail

commit sha 13c207d3756754c54a6b20d852087616d5abfbf4

Generalise `InitializeVisitor`

view details

rail

commit sha 9573a0d378033a81e55ca834a5d305d3cf2be24d

Rename variables

view details

rail

commit sha 1026b42f0694eb9239b5cebe80be743d5ded0da5

Rename a struct and variables

view details

rail

commit sha b4b4da162f19e9a4c63854a2b5a6167b83f9d8b9

Introduce Start and StartKind

view details

rail

commit sha 720f19f2ec4282f636889b35beabf31272e3b1b2

Implement detecting `manual_memcpy` with loop counters

view details

rail

commit sha de56279cd9047832216e1d1c06dc45375bf01b31

Implement building the `manual_memcpy` sugggestion with loop counters

view details

rail

commit sha 8da6cfd17b7707d678d01a6688572169015ea83e

fmt

view details

rail

commit sha d9a88be0b05c2cfec0679caf428d129c9d46256d

Rename `get_offset` and its private items

view details

rail

commit sha 774e82a566c6c3349700a8bece44d6a8c6755039

Add the tests for `manual_memcpy` with loop counters

view details

rail

commit sha 9aad38bf614c3fb6d306f5dec4a0af606bb3c9c8

Update `manual_memcpy.stderr` to reflect additional parentheses

view details

rail

commit sha 4ea4a972500a8ddecfc737d51eec960324dcb02f

Add tests for bitwise operations

view details

rail

commit sha eb3ffe6ed2999e9d3385be0ff981e30082ea0d2c

make use of macros in operator overloading

view details

rail

commit sha 10d7a18f72155f03dbd27b872a52b5dd45def8db

fmt

view details

rail

commit sha 174065fc98ef9335ea45a234aa18286cdf6c3934

fix the multiple counters test

view details

rail

commit sha 44187383f4724bd7e4b2b220235e93438043947a

Use operator overloading instead of direct calls of `make_binop`

view details

push time in 20 hours

push eventrust-lang/rustc-dev-guide

Camelid

commit sha 30c298dd7c34e7e06f8673178ef79733876da6a2

Clean up `compiletest` chapter (#935)

view details

push time in 21 hours

PR merged rust-lang/rustc-dev-guide

Clean up `compiletest` chapter
  • Improve wording
  • Improve formatting
+52 -54

0 comment

2 changed files

camelid

pr closed time in 21 hours

PullRequestReviewEvent

PR closed rust-lang/rustc-dev-guide

Charles O'Riey - Added link for beginners to OS projects

Link added https://github.com/firstcontributions/first-contributions to help beginners making first contribution to an open source project.

+1 -1

2 comments

1 changed file

nagashi

pr closed time in a day

pull request commentrust-lang/rustc-dev-guide

Charles O'Riey - Added link for beginners to OS projects

No worries! I'm going to close this though, any contributions are definitely welcome :)

I thought it would be a good way to jump in and get my feet wet.

You can find the issues with E-easy, Easy, good first issue labels in the rust-lang org. There'are many issues waiting for your contributions.

nagashi

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 different implementation in order to invoke behavior change) perhaps it is helpful to see the behavior change implementation of one case, simply as an example.  To implement `failure-status`, the `check_correct_failure_status()` function found in the `TestCx` implementation block, located in-[src/tools/compiletest/src/runtest.rs](https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/runtest.rs),+[`src/tools/compiletest/src/runtest.rs`](https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/runtest.rs),

Since this line is long, we should move this link to the bottom, maybe?

camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 thousands), efficient test execution (parallel execution is supported), and allows the test author to configure behavior and expected results of both individual and groups of tests. -`compiletest` tests may check test code for success, for failure or in some-cases, even failure to compile.  Tests are typically organized as a Rust source-file with annotations in comments before and/or within the test code, which-serve to direct `compiletest` on if or how to run the test, what behavior to-expect, and more.  If you are unfamiliar with the compiler testing framework,+`compiletest` tests may check test code for success, for runtime failure, or for+compile-time failure.  Tests are typically organized as a Rust source file with+annotations in comments before and/or within the test code, which serve to+direct `compiletest` on if or how to run the test, what behavior to expect,+and more.  If you are unfamiliar with the compiler testing framework, see [this chapter](./tests/intro.html) for additional background.  The tests themselves are typically (but not always) organized into-"suites" – for example, `run-fail`,-a folder holding tests that should compile successfully,-but return a failure (non-zero status), `compile-fail`, a folder holding tests-that should fail to compile, and many more.  The various suites are defined in-[src/tools/compiletest/src/common.rs][common] in the `pub enum Mode`-declaration.  And a very good introduction to the different suites of compiler-tests along with details about them can be found in [Adding new-tests](./tests/adding.html).+"suites" – for example, `run-fail`, a folder holding tests that should compile+successfully, but return a failure (non-zero status) at runtime, `compile-fail`,+a folder holding tests that should fail to compile, and many more.  The various
a folder holding tests that should fail to compile, and many more. The various
camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 thousands), efficient test execution (parallel execution is supported), and allows the test author to configure behavior and expected results of both individual and groups of tests. -`compiletest` tests may check test code for success, for failure or in some-cases, even failure to compile.  Tests are typically organized as a Rust source-file with annotations in comments before and/or within the test code, which-serve to direct `compiletest` on if or how to run the test, what behavior to-expect, and more.  If you are unfamiliar with the compiler testing framework,+`compiletest` tests may check test code for success, for runtime failure, or for+compile-time failure.  Tests are typically organized as a Rust source file with+annotations in comments before and/or within the test code, which serve to+direct `compiletest` on if or how to run the test, what behavior to expect,+and more.  If you are unfamiliar with the compiler testing framework, see [this chapter](./tests/intro.html) for additional background.  The tests themselves are typically (but not always) organized into-"suites" – for example, `run-fail`,-a folder holding tests that should compile successfully,-but return a failure (non-zero status), `compile-fail`, a folder holding tests-that should fail to compile, and many more.  The various suites are defined in-[src/tools/compiletest/src/common.rs][common] in the `pub enum Mode`-declaration.  And a very good introduction to the different suites of compiler-tests along with details about them can be found in [Adding new-tests](./tests/adding.html).+"suites" – for example, `run-fail`, a folder holding tests that should compile+successfully, but return a failure (non-zero status) at runtime, `compile-fail`,+a folder holding tests that should fail to compile, and many more.  The various+suites are defined in [`src/tools/compiletest/src/common.rs`][common] in the+`pub enum Mode` declaration.  And a good introduction to the different
`pub enum Mode` declaration. And a good introduction to the different
camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 thousands), efficient test execution (parallel execution is supported), and allows the test author to configure behavior and expected results of both individual and groups of tests. -`compiletest` tests may check test code for success, for failure or in some-cases, even failure to compile.  Tests are typically organized as a Rust source-file with annotations in comments before and/or within the test code, which-serve to direct `compiletest` on if or how to run the test, what behavior to-expect, and more.  If you are unfamiliar with the compiler testing framework,+`compiletest` tests may check test code for success, for runtime failure, or for+compile-time failure.  Tests are typically organized as a Rust source file with
compile-time failure. Tests are typically organized as a Rust source file with
camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 - [The compiler testing framework](./tests/intro.md)     - [Running tests](./tests/running.md)     - [Adding new tests](./tests/adding.md)-    - [Using `compiletest` + commands to control test execution](./compiletest.md)+    - [Using `compiletest` commands to control test execution](./compiletest.md)

Should we change the h1 header of src/compiletest.md as well? The current wording is # compiletest and it's unclear a bit.

camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 described more fully ### Adding a new header command  Header commands are defined in the `TestProps` struct in-[src/tools/compiletest/src/header.rs][header].  At a high level, there are+[`src/tools/compiletest/src/header.rs`][header].  At a high level, there are
[`src/tools/compiletest/src/header.rs`][header]. At a high level, there are
camelid

comment created time in a day

Pull request review commentrust-lang/rustc-dev-guide

Clean up `compiletest` chapter

 To add a new header command property:  When `compiletest` encounters a test file, it parses the file a line at a time by calling every parser defined in the `Config` struct's implementation block,-also in [src/tools/compiletest/src/header.rs][header] (note the `Config`+also in [`src/tools/compiletest/src/header.rs`][header] (note the `Config` struct's declaration block is found in-[src/tools/compiletest/src/common.rs][common].  `TestProps`'s `load_from()`+[`src/tools/compiletest/src/common.rs`][common].  `TestProps`'s `load_from()`
[`src/tools/compiletest/src/common.rs`][common]. `TestProps`'s `load_from()`
camelid

comment created time in a day

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

delete branch JohnTitor/rustc-dev-guide

delete branch : windows-requirements

delete time in a day

push eventrust-lang/rustc-dev-guide

Yuki Okushi

commit sha 53a7fd3ad3f11157210105b0b93d254f7d291b34

Improve prerequisites section for Windows (#934) Co-authored-by: Joshua Nelson <joshua@yottadb.com>

view details

push time in a day

PR merged rust-lang/rustc-dev-guide

Improve prerequisites section for Windows waiting-on-review
  • Migrate two sections about Windows
  • Update the link to rust-lang/rust's README
+16 -18

0 comment

1 changed file

JohnTitor

pr closed time in a day

push eventJohnTitor/rustc-dev-guide

Yuki Okushi

commit sha 1cc20211fecdbe49388466bb5d49e3a4ca583a11

Apply suggestions from code review Co-authored-by: Joshua Nelson <joshua@yottadb.com>

view details

push time in a day

PR opened rust-lang/rustc-dev-guide

Improve prerequisites section for Windows
  • Migrate two sections about Windows
  • Update the link to rust-lang/rust's README
+16 -18

0 comment

1 changed file

pr created time in a day

create barnchJohnTitor/rustc-dev-guide

branch : windows-requirements

created branch time in a day

push eventJohnTitor/rustc-dev-guide

Yuki Okushi

commit sha 47893bacd89cdaffe9189e22217d932e6389f8c1

Add reference PRs for `r?` and `r+` comments (#928)

view details

Joshua Nelson

commit sha e75c72baa349333817b91d1b74dcb4f96b3837ac

Add a `check-in.sh` script to automate writing markdown links Example usage: ``` $ ./check-in.sh usage: ./check-in.sh <since> <number-of-prs-merged> $ ./check-in.sh 2020-09-03 usage: ./check-in.sh <since> <number-of-prs-merged> help: you can find the number of PRs merged at https://github.com/rust-lang/rustc-dev-guide/pulls?q=is%3Apr+is%3Aclosed+updated%3A%3E2020-09-03 $ ./check-in.sh 2020-09-03 72 Authors: - **@1c3t3a** - **@arora-aman** ... snip ... Changes: - Replace links to `buildbot2.r-l.o` with `bors.r-l.o` [#929](https://github.com/rust-lang/rustc-dev-guide/pull/929) - Add reference PRs for `r?` and `r+` comments [#928](https://github.com/rust-lang/rustc-dev-guide/pull/928) ... snip ... Changes in progress: ```

view details

Joshua Nelson

commit sha 8539c7f4e2fd43ce7a0047aa2fa974edadaf3e9b

Improve markdown formatting

view details

Joshua Nelson

commit sha 132df6222b49bf9ae11bd9792f4e2d72cbea96a5

fix formatting

view details

Nadrieril

commit sha b1af2f0c07ce95720e8d59c421cbd66b005f454a

Explain lint renaming/removing

view details

push time in a day

Pull request review commentrust-lang/rust

libc: 0.2.79 -> 0.2.80

 dependencies = [  "termcolor", ] -[[package]]-name = "env_logger"-version = "0.8.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd"-dependencies = [- "atty",- "humantime 2.0.1",- "log",- "regex",- "termcolor",-]-

Hm, libc don't depend on it so it should be unrelated, actually e852a4abf01f605aa71cd529887c17c4c64f33ed was reverted partially. I guess you didn't run x.py check or something to sync/update submodules.

nagisa

comment created time in a day

PullRequestReviewEvent

issue commentrust-lang/rust

ICE when using Matching, Async and Indexing

Assigning P-high as discussed as part of the Prioritization Working Group procedure and removing I-prioritize.

VincentWo

comment created time in a day

PullRequestReviewEvent

Pull request review commentrust-lang/rust

libc: 0.2.79 -> 0.2.80

 dependencies = [  "termcolor", ] -[[package]]-name = "env_logger"-version = "0.8.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd"-dependencies = [- "atty",- "humantime 2.0.1",- "log",- "regex",- "termcolor",-]-

I believe this is introduced accidentally.

nagisa

comment created time in a day

PullRequestReviewEvent

pull request commentrust-lang/libc

Allow `deprecated` attribute on `f!` macros to fix dragonfly build

Released 0.2.80 :)

JohnTitor

comment created time in a day

created tagrust-lang/libc

tag0.2.80

Raw bindings to platform APIs for Rust

created time in a day

release rust-lang/libc

0.2.80

released time in a day

delete branch JohnTitor/libc

delete branch : new-release

delete time in a day

push eventJohnTitor/roa-button

dependabot-preview[bot]

commit sha 98dcc7ef153867d53ad3266762e6a1dab533cbc6

chore(deps-dev): bump @mdi/font from 5.7.55 to 5.8.55 Bumps [@mdi/font](https://github.com/Templarian/MaterialDesign-Webfont) from 5.7.55 to 5.8.55. - [Release notes](https://github.com/Templarian/MaterialDesign-Webfont/releases) - [Commits](https://github.com/Templarian/MaterialDesign-Webfont/compare/v5.7.55...v5.8.55) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Yuki Okushi

commit sha 03e93c7346ec5eb54b0c1ec7f1f240ed7fd5b58e

Merge pull request #99 from JohnTitor/dependabot/npm_and_yarn/mdi/font-5.8.55 chore(deps-dev): bump @mdi/font from 5.7.55 to 5.8.55

view details

push time in a day

PR merged JohnTitor/roa-button

chore(deps-dev): bump @mdi/font from 5.7.55 to 5.8.55 dependencies

Bumps @mdi/font from 5.7.55 to 5.8.55. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Templarian/MaterialDesign-Webfont/commit/ca547d7878316031d24a1dbe5a9078693bb17517"><code>ca547d7</code></a> v5.8.55</li> <li>See full diff in <a href="https://github.com/Templarian/MaterialDesign-Webfont/compare/v5.7.55...v5.8.55">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+5 -5

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in a day

PullRequestReviewEvent

pull request commentrust-lang/libc

Release 0.2.80

@bors r+

JohnTitor

comment created time in a day

pull request commentrust-lang/libc

Allow `deprecated` attribute on `f!` macros to fix dragonfly build

Sure! Opened #1959

JohnTitor

comment created time in a day

PR opened rust-lang/libc

Release 0.2.80
+2 -2

0 comment

1 changed file

pr created time in a day

create barnchJohnTitor/libc

branch : new-release

created branch time in a day

push eventJohnTitor/libc

George Hopkins

commit sha 2a212c84fb24aa17283af5bb87ff60f4fdc5affd

linux: Add definitions for Multipath TCP We leave IPPROTO_MAX as is for the time being. However, in recent kernel releases IPPROTO_MAX is actually higher and reflects the addition of IPPROTO_MPTCP.

view details

George Hopkins

commit sha 7f2619fdf93581a2822a3f63035e05f55d0df8be

Apply suggestions from code review Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>

view details

bors

commit sha e0a4fb03978eceb295a91cea341e66b6163b56fd

Auto merge of #1902 - george-hopkins:mptcp, r=JohnTitor linux: Add definitions for Multipath TCP The Linux kernel recently gained support for [Multipath TCP](https://en.wikipedia.org/wiki/Multipath_TCP), a protocol which builds upon TCP. This patch adds `IPPROTO_MPTCP` to open new sockets and `TCP_ULP` to query the upper layer protocol of traditional TCP sockets (which is set to `mptcp` for all underlying connections) Source: [tcp: Define IPPROTO_MPTCP](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=faf391c3826cd29feae02078ca2022d2f912f7cc) cc #1896

view details

Yuki Okushi

commit sha ae193eaae0888d08891e0fc9dce9ff49310fe110

Allow attributes in `f!` and related macros

view details

Yuki Okushi

commit sha d371bdcc1ec3e8446395f376468ee296070f75a4

Fix `deprecated` attribute for `__error`

view details

Yuki Okushi

commit sha 1a876755d21d944ace85026fb826f7494fc1c9be

Revert "Skip some tests for `mips64(el)-unknown-linux-gnuabi64`" This reverts commit 7aa60269ae6cecd01831f5ec62d8c582e24de4fd.

view details

Yuki Okushi

commit sha 003d6effe60296270f38d0d039f83fa8880392cc

Revert "Disable libc-test for MIPS64 for now" This reverts commit 6e719f77359d50a843ed0dcde1316b55205848ff.

view details

bors

commit sha 229b10983a551cb4dd4d07b4aae69e38bc10aa54

Auto merge of #1941 - JohnTitor:mips64, r=JohnTitor Revive tests for MIPS64

view details

Yuki Okushi

commit sha e471884df55e1da9bf55eb8a158b15a758d5c954

Add a deprecation note to `time_t` on musl

view details

Yuki Okushi

commit sha d40c7ebdf6687e03bd1eb76ad0f9aea424a63e0c

Allow deprecated `time_t` on musl

view details

bors

commit sha 6ca151e67889c1f719bc7bc8e0ca3d88aa93aebd

Auto merge of #1956 - JohnTitor:time64, r=JohnTitor Add a deprecation note to `time_t` on musl cc #1848

view details

bors

commit sha 2d0d4747c4490b149ec17cf6646553a802219c5a

Auto merge of #1958 - JohnTitor:fix-dragonfly-build, r=nagisa Allow `deprecated` attribute on `f!` macros to fix dragonfly build Fixes #1957 cc `@nagisa` I think this should resolve the build :)

view details

push time in a day

Pull request review commentrust-lang/rust

Update RELEASES.md for 1.48.0

+Version 1.48.0 (2020-11-19)+==========================++Language+--------++- [The `unsafe` keyword is now syntactically permitted on modules.][75857] This+  is still rejected *semantically*, but can now be parsed by procedural macros.++Compiler+--------+- [Stabilised the `-C link=<yes|no>`][76158] Which tells `rustc` whether to link+  its own libraries or to rely on a external linker. (supported only on+  `windows-gnu`, `linux-musl`, and `wasi` platforms.)+- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.][77386]+- [Added tier 2\* support for  `aarch64-unknown-linux-musl`.][76420]++\* Refer to Rust's [platform support page][forge-platform-support] for more+information on Rust's tiered platform support.++Libraries+---------+- [`io::Write` is now implemented for `&ChildStdin` `&Sink`, `&Stdout`,+  and `&Stderr`.][76275]+- [All arrays now implement `TryFrom<Vec<T>>`.][76310]+- [The `matches!` macro now supports having a trailing comma.][74880]+- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]+- [Nearly all of `Cell`'s panicking functions now use the `#[track_caller]`+  attribute.][77055]++Stabilized APIs+---------------+- [`slice::as_ptr_range`]+- [`slice::as_mut_ptr_range`]+- [`VecDeque::make_contiguous`]+- [`future::pending`]+- [`future::ready`]++The following previously stable methods are now `const fn`'s:++- [`Option::is_some`]+- [`Option::is_none`]+- [`Option::as_ref`]+- [`Result::is_ok`]+- [`Result::is_err`]+- [`Result::as_ref`]+- [`Ordering::reverse`]+- [`Ordering::then`]++Cargo+-----++Misc+----+- [You can now link to different items in `rustdoc` using the intra-doc link+  syntax.][74430] E.g. ``/// Uses [`std::future`] `` will automatically generate
  syntax.][74430] E.g. ``/// Uses [`std::future`]`` will automatically generate
XAMPPRocky

comment created time in a day

Pull request review commentrust-lang/rust

Update RELEASES.md for 1.48.0

+Version 1.48.0 (2020-11-19)+==========================++Language+--------++- [The `unsafe` keyword is now syntactically permitted on modules.][75857] This+  is still rejected *semantically*, but can now be parsed by procedural macros.++Compiler+--------+- [Stabilised the `-C link=<yes|no>`][76158] Which tells `rustc` whether to link+  its own libraries or to rely on a external linker. (supported only on+  `windows-gnu`, `linux-musl`, and `wasi` platforms.)+- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.][77386]+- [Added tier 2\* support for  `aarch64-unknown-linux-musl`.][76420]++\* Refer to Rust's [platform support page][forge-platform-support] for more+information on Rust's tiered platform support.++Libraries+---------+- [`io::Write` is now implemented for `&ChildStdin` `&Sink`, `&Stdout`,+  and `&Stderr`.][76275]+- [All arrays now implement `TryFrom<Vec<T>>`.][76310]+- [The `matches!` macro now supports having a trailing comma.][74880]+- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]+- [Nearly all of `Cell`'s panicking functions now use the `#[track_caller]`+  attribute.][77055]++Stabilized APIs+---------------+- [`slice::as_ptr_range`]+- [`slice::as_mut_ptr_range`]+- [`VecDeque::make_contiguous`]+- [`future::pending`]+- [`future::ready`]++The following previously stable methods are now `const fn`'s:++- [`Option::is_some`]+- [`Option::is_none`]+- [`Option::as_ref`]+- [`Result::is_ok`]+- [`Result::is_err`]+- [`Result::as_ref`]+- [`Ordering::reverse`]+- [`Ordering::then`]++Cargo+-----++Misc+----+- [You can now link to different items in `rustdoc` using the intra-doc link+  syntax.][74430] E.g. ``/// Uses [`std::future`] `` will automatically generate+  a link to `std::future`'s documentation. See ["Linking to items by+  name"][intradoc-links] for more information.+- [You can now specify `#[doc(alias = "<alias>")]` on items to add search aliases+  when searching through `rustdoc`'s UI.][75740]+- [You can now use `rustup install <major>.<minor>` to specify installing the+  latest availeble patch of that minor version of the toolchain.][76107] E.g.
  latest available patch of that minor version of the toolchain.][76107] E.g.
XAMPPRocky

comment created time in a day

Pull request review commentrust-lang/rust

Update RELEASES.md for 1.48.0

+Version 1.48.0 (2020-11-19)+==========================++Language+--------++- [The `unsafe` keyword is now syntactically permitted on modules.][75857] This+  is still rejected *semantically*, but can now be parsed by procedural macros.++Compiler+--------+- [Stabilised the `-C link=<yes|no>`][76158] Which tells `rustc` whether to link+  its own libraries or to rely on a external linker. (supported only on+  `windows-gnu`, `linux-musl`, and `wasi` platforms.)+- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.][77386]+- [Added tier 2\* support for  `aarch64-unknown-linux-musl`.][76420]++\* Refer to Rust's [platform support page][forge-platform-support] for more+information on Rust's tiered platform support.++Libraries+---------+- [`io::Write` is now implemented for `&ChildStdin` `&Sink`, `&Stdout`,+  and `&Stderr`.][76275]+- [All arrays now implement `TryFrom<Vec<T>>`.][76310]+- [The `matches!` macro now supports having a trailing comma.][74880]+- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]+- [Nearly all of `Cell`'s panicking functions now use the `#[track_caller]`+  attribute.][77055]++Stabilized APIs+---------------+- [`slice::as_ptr_range`]+- [`slice::as_mut_ptr_range`]+- [`VecDeque::make_contiguous`]+- [`future::pending`]+- [`future::ready`]++The following previously stable methods are now `const fn`'s:++- [`Option::is_some`]+- [`Option::is_none`]+- [`Option::as_ref`]+- [`Result::is_ok`]+- [`Result::is_err`]+- [`Result::as_ref`]+- [`Ordering::reverse`]+- [`Ordering::then`]++Cargo+-----++Misc+----+- [You can now link to different items in `rustdoc` using the intra-doc link+  syntax.][74430] E.g. ``/// Uses [`std::future`] `` will automatically generate+  a link to `std::future`'s documentation. See ["Linking to items by+  name"][intradoc-links] for more information.+- [You can now specify `#[doc(alias = "<alias>")]` on items to add search aliases+  when searching through `rustdoc`'s UI.][75740]+- [You can now use `rustup install <major>.<minor>` to specify installing the+  latest availeble patch of that minor version of the toolchain.][76107] E.g.+  `rustup install 1.45` would install `1.45.2`, and `1.46` would install `1.46.0`.++Compatibility Notes+-------------------+- [`const fn`s are now implicitly promoted to `const`.][75502] Meaning that it+  will only warn if your code fails `const` evaluation, and not produce an error.+- [Associated type bindings on trait objects are now verified to meet the bounds+  declared on the trait when checking that they implement the trait.][27675]+- [When traits bounds on associated types or opaque types are ambiguous the+  compiler no longer makes an arbitrary choice on which bound to use.][54121]+- [Fixed recursive nonterminals not being expended in macros during+  pretty-print/reparse check.][77153] This may cause errors if your macro wasn't+  correctly handling recursive nonterminal tokens.+- [`&mut` references to non zero-sized types are not longer promoted.][75585]
- [`&mut` references to non zero-sized types are no longer promoted.][75585]
XAMPPRocky

comment created time in a day

PullRequestReviewEvent
PullRequestReviewEvent

delete branch JohnTitor/rust

delete branch : rollup-vbbm5wf

delete time in a day

delete branch JohnTitor/rust

delete branch : compiler-builtins

delete time in a day

issue openedrust-lang/rust

Internal lint: Warn unnecessary `{Hir,LocalDef,Def}Id` converts

Inspired by https://github.com/rust-lang/rust-clippy/pull/6222#issuecomment-716126347. Consider this code:

let local_did = hir_id.owner.to_def_id().expect_local();

This is redundant since hir_id.owner is LocalDefId already. It'd be great if we could detect and warn such a case as an internal lint.

created time in a day

delete branch JohnTitor/rust-clippy

delete branch : redundant-local-def-id

delete time in a day

PR opened rust-lang/rust

Do not call `unwrap` with `signatures` option enabled

Fixes #75229 Didn't add a test since I couldn't set RUST_SAVE_ANALYSIS_CONFIG even with rustc-env.

+2 -2

0 comment

1 changed file

pr created time in 2 days

push eventJohnTitor/rust

Yuki Okushi

commit sha 3dd0a7d6eba173e5169b66fd4417025916aa0f3e

Do not call `unwrap` with `signatures` option enabled

view details

push time in 2 days

create barnchJohnTitor/rust

branch : issue-75229

created branch time in 2 days

push eventactix/actix

ghizzo01

commit sha c23a545ef198f2516ae8ec648ed9dd33a1cbefb4

Bump pin-project to 1.0 (#435) Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>

view details

push time in 2 days

PR merged actix/actix

Bump pin-project to 1.0 semver-patch

<!-- Thanks for considering contributing actix! --> <!-- Please fill out the following to make our reviews easy. -->

PR Type

<!-- What kind of change does this PR make? --> <!-- Bug Fix / Feature / Refactor / Code Style / Other --> INSERT_PR_TYPE

PR Checklist

Check your PR fulfills the following:

<!-- For draft PRs check the boxes as you complete them. -->

  • [ ] Tests for the changes have been added / updated.
  • [ ] Documentation comments have been added / updated.
  • [x] A changelog entry has been made for the appropriate packages.
  • [ ] Format code with the latest stable rustfmt

Overview

<!-- Describe the current and new behavior. --> <!-- Emphasize any breaking changes. -->

<!-- If this PR fixes or closes an issue, reference it here. --> <!-- Closes #000 -->

+3 -1

1 comment

2 changed files

ghizzo01

pr closed time in 2 days

PullRequestReviewEvent

push eventghizzo01/actix

Yuki Okushi

commit sha 2168eec23f22d0bd83fc857acb016bfc24d68fbe

Disable macOS cache on GHA (#436)

view details

Hendrik Sollich

commit sha 9892dda5d1ed861bb4471a80579d8e8ff444c08f

Add WeakRecipient (v2) (#432) Co-authored-by: Jonathas Conceição <jadoliveira@inf.ufpel.edu.br> Co-authored-by: Rob Ede <robjtede@icloud.com>

view details

fakeshadow

commit sha 09848fa32b9663175782c9cf8909c1ce82cef1a7

enable nested sync arbiters (#439)

view details

Yuki Okushi

commit sha 8667e2f4abe9241982731b909b2d4d9313ac5f7f

Merge branch 'master' into bump-pp

view details

push time in 2 days

push eventactix/actix-net

ghizzo01

commit sha 704af672b9ae1b80c1bbaf5cf2dfedfd6e5a8e21

Bump pin-project to 1.0 (#202)

view details

push time in 2 days

PR merged actix/actix-net

Bump pin-project to 1.0

PR Type

<!-- What kind of change does this PR make? --> <!-- Bug Fix / Feature / Refactor / Code Style / Other --> INSERT_PR_TYPE

PR Checklist

Check your PR fulfills the following:

<!-- For draft PRs check the boxes as you complete them. -->

  • [ ] Tests for the changes have been added / updated.
  • [ ] Documentation comments have been added / updated.
  • [x] A changelog entry has been made for the appropriate packages.
  • [ ] Format code with the latest stable rustfmt

Overview

<!-- Describe the current and new behavior. --> <!-- Emphasize any breaking changes. -->

<!-- If this PR fixes or closes an issue, reference it here. --> <!-- Closes #000 -->

+6 -4

2 comments

6 changed files

ghizzo01

pr closed time in 2 days

PullRequestReviewEvent

push eventactix/actix-web

ghizzo01

commit sha 20078fe60394091f45d795b4552581421d0f3953

Bump pin-project to 1.0 (#1733)

view details

push time in 2 days

PR merged actix/actix-web

Bump pin-project to 1.0 P-actors P-awc P-http P-test-server P-web semver-patch

<!-- Thanks for considering contributing actix! --> <!-- Please fill out the following to make our reviews easy. -->

PR Type

<!-- What kind of change does this PR make? --> <!-- Bug Fix / Feature / Refactor / Code Style / Other --> INSERT_PR_TYPE

PR Checklist

Check your PR fulfills the following:

<!-- For draft PRs check the boxes as you complete them. -->

  • [ ] Tests for the changes have been added / updated.
  • [ ] Documentation comments have been added / updated.
  • [x] A changelog entry has been made for the appropriate packages.
  • [ ] Format code with the latest stable rustfmt

Overview

<!-- Describe the current and new behavior. --> <!-- Emphasize any breaking changes. -->

<!-- If this PR fixes or closes an issue, reference it here. --> <!-- Closes #000 -->

+6 -4

3 comments

6 changed files

ghizzo01

pr closed time in 2 days

PullRequestReviewEvent

PR opened rust-lang/rust-clippy

Remove redundant `expect_local()` call

The field owner of HirId is LocalDefId and hir_id.owner.to_def_id().expect_local() is redundant. I wonder they were introduced in some rustups.

changelog: none

+7 -11

0 comment

4 changed files

pr created time in 2 days

create barnchJohnTitor/rust-clippy

branch : redundant-local-def-id

created branch time in 2 days

push eventJohnTitor/rust-clippy

Geoffrey Copin

commit sha bb0ce32423aefcb8b9eb587881973f56a6a6b0ee

Lint unnecessary int-to-int and float-to-float casts

view details

Tim Nielens

commit sha 915ce3608724e6c900d1b5eb4412cac2fcace33a

manual_unwrap_or / support Result::unwrap_or

view details

Patrick José Pereira

commit sha ec23db9496807f6c962b74fe0d6bf15be6c6d35b

Add linter for a single element for loop Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>

view details

Patrick José Pereira

commit sha ba1ca19c3bec20401a4cb13e5186c4c5952e94cc

tests: if_same_then_else2: Ignore single_element_loop lint Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>

view details

Daniel Smith

commit sha 57bf80f77626b134faaf2cd95664403627fba0da

Add lint for holding RefCell Ref across an await

view details

Daniel Smith

commit sha 8727169f7243c87e3708d99e9602562370f01a1a

fmt

view details

Daniel Smith

commit sha 070a751d4cf350a71901f75bc99ca0e0922a3133

update_lints

view details

Daniel Smith

commit sha 0f4abbf99a6f1ed783ea6935c83427c2aef95144

Better naming post copy/paste

view details

Daniel Smith

commit sha b3a427d8733a549b11f9bc88eceb31c857851411

Add another test case

view details

Daniel Smith

commit sha 3ed69cdb13e5953467f9d849d7ad480479ca01d6

Move existing lint into shared file

view details

Daniel Smith

commit sha ee20ebadafc9b2e4995015097e376c0a866d84af

Move refcell lint into shared module

view details

Daniel Smith

commit sha d8c6bce4407b1c99ed961f75a093ffe767818069

Convert the await holding lints to correctness

view details

Daniel Smith

commit sha 86f2b29d2ff33862264e2e6dfdc7cc20ad054ad1

Merge lints into one pass

view details

Daniel Smith

commit sha 4d3322525d9b65ce4c6fc183bc1cd3cfc9477300

Separate tests for each lint

view details

varkor

commit sha fcde7683fe7ca10c83e5bc17f0969d2284affcd2

Fix clippy tests

view details

Tim Nielens

commit sha f2da0c701edef601b16b512b3a244977bf4b3afe

manual-unwrap-or / pr remarks

view details

Tim Nielens

commit sha 6533d8becfd198299d0bd38550dd6c574cbd194f

manual-unwrap-or / pr remarks, round 2

view details

Geoffrey Copin

commit sha e8f12d2f02644834282dec0c27710886f1e85ae6

Address review comments

view details

Geoffrey Copin

commit sha 02f01104bfbb935ee1c3c3971ccf055173e4f82b

Add test case for negative literals

view details

Geoffrey Copin

commit sha 30f80c3b8c4fcb5d0db37b84a77a58303322cf4e

Fix test file

view details

push time in 2 days

pull request commentrust-lang/rust

Rollup of 8 pull requests

@bors r+ rollup=never p=5 @rustbot modify labels: rollup

JohnTitor

comment created time in 2 days

PR opened rust-lang/rust

Rollup of 8 pull requests

Successful merges:

  • #77984 (Compute proper module parent during resolution)
  • #78085 (MIR validation should check SwitchInt values are valid for the type)
  • #78208 (replace #[allow_internal_unstable] with #[rustc_allow_const_fn_unstable] for const fns)
  • #78209 (Update compiler_builtins to 0.1.36)
  • #78276 (Bump backtrace-rs to enable Mach-O support on iOS.)
  • #78320 (Link to cargo's build-std feature instead of xargo in custom target docs)
  • #78322 (BTreeMap: stop mistaking node::MIN_LEN for a node level constraint)
  • #78326 (Split out statement attributes changes from #78306)

Failed merges:

r? @ghost

+427 -131

0 comment

58 changed files

pr created time in 2 days

push eventJohnTitor/rust

Aaron Hill

commit sha ac384ac2dbb21c5a0f6189807edf4a4ac42383ed

Fix inconsistencies in handling of inert attributes on statements When the 'early' and 'late' visitors visit an attribute target, they activate any lint attributes (e.g. `#[allow]`) that apply to it. This can affect warnings emitted on sibiling attributes. For example, the following code does not produce an `unused_attributes` for `#[inline]`, since the sibiling `#[allow(unused_attributes)]` suppressed the warning. ```rust trait Foo { #[allow(unused_attributes)] #[inline] fn first(); #[inline] #[allow(unused_attributes)] fn second(); } ``` However, we do not do this for statements - instead, the lint attributes only become active when we visit the struct nested inside `StmtKind` (e.g. `Item`). Currently, this is difficult to observe due to another issue - the `HasAttrs` impl for `StmtKind` ignores attributes for `StmtKind::Item`. As a result, the `unused_doc_comments` lint will never see attributes on item statements. This commit makes two interrelated fixes to the handling of inert (non-proc-macro) attributes on statements: * The `HasAttr` impl for `StmtKind` now returns attributes for `StmtKind::Item`, treating it just like every other `StmtKind` variant. The only place relying on the old behavior was macro which has been updated to explicitly ignore attributes on item statements. This allows the `unused_doc_comments` lint to fire for item statements. * The `early` and `late` lint visitors now activate lint attributes when invoking the callback for `Stmt`. This ensures that a lint attribute (e.g. `#[allow(unused_doc_comments)]`) can be applied to sibiling attributes on an item statement. For now, the `unused_doc_comments` lint is explicitly disabled on item statements, which preserves the current behavior. The exact locatiosn where this lint should fire are being discussed in PR #78306

view details

Yuki Okushi

commit sha 0a26e4ba7e112b9d5ef2bd735b1486b84e66eeae

Rollup merge of #78326 - Aaron1011:fix/min-stmt-lints, r=petrochenkov Split out statement attributes changes from #78306 This is the same as PR https://github.com/rust-lang/rust/pull/78306, but `unused_doc_comments` is modified to explicitly ignore statement items (which preserves the current behavior). This shouldn't have any user-visible effects, so it can be landed without lang team discussion. --------- When the 'early' and 'late' visitors visit an attribute target, they activate any lint attributes (e.g. `#[allow]`) that apply to it. This can affect warnings emitted on sibiling attributes. For example, the following code does not produce an `unused_attributes` for `#[inline]`, since the sibiling `#[allow(unused_attributes)]` suppressed the warning. ```rust trait Foo { #[allow(unused_attributes)] #[inline] fn first(); #[inline] #[allow(unused_attributes)] fn second(); } ``` However, we do not do this for statements - instead, the lint attributes only become active when we visit the struct nested inside `StmtKind` (e.g. `Item`). Currently, this is difficult to observe due to another issue - the `HasAttrs` impl for `StmtKind` ignores attributes for `StmtKind::Item`. As a result, the `unused_doc_comments` lint will never see attributes on item statements. This commit makes two interrelated fixes to the handling of inert (non-proc-macro) attributes on statements: * The `HasAttr` impl for `StmtKind` now returns attributes for `StmtKind::Item`, treating it just like every other `StmtKind` variant. The only place relying on the old behavior was macro which has been updated to explicitly ignore attributes on item statements. This allows the `unused_doc_comments` lint to fire for item statements. * The `early` and `late` lint visitors now activate lint attributes when invoking the callback for `Stmt`. This ensures that a lint attribute (e.g. `#[allow(unused_doc_comments)]`) can be applied to sibiling attributes on an item statement. For now, the `unused_doc_comments` lint is explicitly disabled on item statements, which preserves the current behavior. The exact locatiosn where this lint should fire are being discussed in PR #78306

view details

push time in 2 days

push eventJohnTitor/rust

Stein Somers

commit sha 3b6c4fe465bcb8c47a6b6530d7687a19e78b2f41

BTreeMap: stop mistaking node::MIN_LEN as a node level constraint

view details

Yuki Okushi

commit sha 90856565124965295202aae11a33e66870f39e71

Rollup merge of #78322 - ssomers:btree_no_min_len_at_node_level, r=Mark-Simulacrum BTreeMap: stop mistaking node::MIN_LEN for a node level constraint Correcting #77612 that fell into the trap of assuming that node::MIN_LEN is an imposed minimum everywhere, and trying to make it much more clear it is an offered minimum at the node level. r? @Mark-Simulacrum

view details

push time in 2 days

push eventJohnTitor/rust

Philipp Oppermann

commit sha 11a7087cc18cce879a1f4728de7e86c5a989136d

Link to cargo's `build-std` feature instead of `xargo` in custom target docs The `xargo` tool is in maintenance mode since 2018 and the `build-std` feature of cargo already works reasonably well for most use cases.

view details

Philipp Oppermann

commit sha eb5db6ce4f7624ee63c0564f6fdaadc07d075d4c

Link directly to `#build-std` anchor Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>

view details

Yuki Okushi

commit sha 63e48cd4100619550af142471543f1969bfeb8c0

Rollup merge of #78320 - phil-opp:patch-5, r=GuillaumeGomez,alexcrichton Link to cargo's `build-std` feature instead of `xargo` in custom target docs The `xargo` tool is in maintenance mode since 2018 and the `build-std` feature of cargo already works reasonably well for most use cases.

view details

push time in 2 days

push eventJohnTitor/rust

Tim

commit sha 7d30c53656395695a2c638694f0a13c3ac743ce8

Bump backtrace-rs to enable Mach-O support on iOS.

view details

Yuki Okushi

commit sha 3e017c709d40e06b754ac0090af9874617b3e168

Rollup merge of #78276 - cutsoy:bump-backtrace, r=nagisa Bump backtrace-rs to enable Mach-O support on iOS. Related to rust-lang/backtrace-rs#378. Fixes backtraces on iOS that were missing in Rust v1.47.0 after switching to gimli because it only enabled Mach-O support on macOS.

view details

push time in 2 days

push eventJohnTitor/rust

Yuki Okushi

commit sha 3a58ad91f68c0715301b9f0272954a18b72eb6bb

Update `compiler_builtins` to 0.1.36

view details

Yuki Okushi

commit sha e00e611c28cff53bc3a20d86527f5b1d6e56f59f

Rollup merge of #78209 - JohnTitor:compiler-builtins, r=Amanieu Update `compiler_builtins` to 0.1.36 So, the libc build with cargo's `build-std` feature emits a lot of warnings like: ``` warning: a method with this name may be added to the standard library in the future --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.35/src/int/udiv.rs:98:23 | 98 | q = n << (<$ty>::BITS - sr); | ^^^^^^^^^^^ ... 268 | udivmod_inner!(n, d, rem, u128) | ------------------------------- in this macro invocation | = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 <rust-lang/rust/issues/48919> = help: call with fully qualified syntax `Int::BITS(...)` to keep using the current method = help: add `#![feature(int_bits_const)]` to the crate attributes to enable `num::<impl u128>::BITS` = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) ``` (You can find the full log in https://github.com/rust-lang/libc/runs/1283695796?check_suite_focus=true for example.) 0.1.36 contains https://github.com/rust-lang/compiler-builtins/pull/332 so this version should remove this warning. cc https://github.com/rust-lang/libc/issues/1942

view details

push time in 2 days

push eventJohnTitor/rust

Florian Warzecha

commit sha 3948b054dc8e598b83a194056dc4d3a0852dc79e

add rustc_allow_const_fn_unstable attribute allow_internal_unstable is currently used to side-step feature gate and stability checks. While it was originally only meant to be used only on macros, its use was expanded to const functions. This commit prepares stricter checks for the usage of allow_internal_unstable (only on macros) and introduces the rustc_allow_const_fn_unstable attribute for usage on functions. See rust-lang/rust#69399

view details

Florian Warzecha

commit sha 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f

switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable

view details

Florian Warzecha

commit sha 7258740509877ff97c32c52cea7ac236ba80c51a

validate allow_internal_unstable target Adds a check to make sure `#[allow_internal_unstable]` can be applied only to macro definitions.

view details

Florian Warzecha

commit sha 3a63bf02998f7b5e040a4b87e049d03ddd144f74

validate rustc_allow_const_fn_unstable targets Adds a check to make sure `#[rustc_allow_const_fn_unstable]` can be applied only to functions.

view details

Florian Warzecha

commit sha 83fbdddc99f5fc4f76e144c6d86184dd09169287

ignore #[rustc_allow_const_fn_unstable] for macro expansion Recognition for `rustc_allow_const_fn_unstable` attribute was errorneously added in 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f.

view details

Florian Warzecha

commit sha 13b481b247fe472ccf75b4fb13f3a46ac8f9ecaf

rename allow_internal_unstable() to rustc_allow_const_fn_unstable() in rustc_mir Followup rename from 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f, which introduced `#[rustc_allow_const_fn_unstable]` for `const fn`s.

view details

Florian Warzecha

commit sha ac2c599f23d6c8b5d3413febde4c6febff68062e

fix validation for rustc_allow_const_fn_unstable targets The validation was introduced in 3a63bf02998f7b5e040a4b87e049d03ddd144f74 without strict validation of functions, e. g. all function types were allowed. Now the validation only allows `const fn`s.

view details

Yuki Okushi

commit sha 72e02b015e785e2a8196b6589c4fbb9d06b74f7e

Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obk replace `#[allow_internal_unstable]` with `#[rustc_allow_const_fn_unstable]` for `const fn`s `#[allow_internal_unstable]` is currently used to side-step feature gate and stability checks. While it was originally only meant to be used only on macros, its use was expanded to `const fn`s. This pr adds stricter checks for the usage of `#[allow_internal_unstable]` (only on macros) and introduces the `#[rustc_allow_const_fn_unstable]` attribute for usage on `const fn`s. This pr does not change any of the functionality associated with the use of `#[allow_internal_unstable]` on macros or the usage of `#[rustc_allow_const_fn_unstable]` (instead of `#[allow_internal_unstable]`) on `const fn`s (see https://github.com/rust-lang/rust/issues/69399#issuecomment-712911540). Note: The check for `#[rustc_allow_const_fn_unstable]` currently only validates that the attribute is used on a function, because I don't know how I would check if the function is a `const fn` at the place of the check. I therefore openend this as a 'draft pull request'. Closes rust-lang/rust#69399 r? @oli-obk

view details

push time in 2 days

create barnchJohnTitor/rust

branch : rollup-vbbm5wf

created branch time in 2 days

push eventJohnTitor/rust

Wesley Wiser

commit sha dd683e5ab5d79782a484d919bb8de89764cf98d2

MIR validation should check `SwitchInt` values are valid for the type

view details

Yuki Okushi

commit sha dbdc61f9f91e39003cf18131c9eb3dfa5eccfd50

Rollup merge of #78085 - wesleywiser:mir_validation_switch_int, r=oli-obk MIR validation should check `SwitchInt` values are valid for the type Fixes #75440

view details

push time in 2 days

more