Skip to content

Updated dates#2796

Merged
jyn514 merged 3 commits intorust-lang:mainfrom
Ko496-glitch:update-date-check-march-2026
Mar 23, 2026
Merged

Updated dates#2796
jyn514 merged 3 commits intorust-lang:mainfrom
Ko496-glitch:update-date-check-march-2026

Conversation

@Ko496-glitch
Copy link
Contributor

Updated 'date-checlk: ' dates in following documents

  1. src/backend/updating-llvm.md
  2. src/borrow-check/region-inference/member-constraints.md
  3. src/diagnostics/error-codes.md
  4. src/diagnostics/lintstore.md

Signed off by: ko496

@rustbot
Copy link
Collaborator

rustbot commented Mar 14, 2026

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Mar 14, 2026
@Ko496-glitch
Copy link
Contributor Author

r? rustc-dev-guide

@reddevilmidzy
Copy link
Member

In my opinion, it would be meaningless to just change the date without changing the content. If there is a change in the content, please update the date then

@tshepang tshepang mentioned this pull request Mar 16, 2026
35 tasks
Comment on lines 92 to 100
## Choices are always lifetime parameters

At present, the "choice" regions from a member constraint are always lifetime
parameters from the current function. As of <!-- date-check --> October 2021,
parameters from the current function. As of <!-- date-check --> March 2026,
this falls out from the placement of impl Trait, though in the future it may not
be the case. We take some advantage of this fact, as it simplifies the current
code. In particular, we don't have to consider a case like `'0 member of ['1,
'static]`, in which the value of both `'0` and `'1` are being inferred and hence
changing. See [rust-lang/rust#61773][#61773] for more information.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BoxyUwU do you happen to know if this is still true?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true enough at least :3

Comment on lines -24 to 25
As of <!-- date-check --> Aug 2022,
As of <!-- date-check --> March 2026,
we lint against direct declarations without the use of the macro.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you verified this is still true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jyn514 (https://github.com/rust-lang/rust/blob/main/compiler/rustc_lint/src/lib.rs)

i checked the above lib.rs looks like we are still using LINT_PASS_IMPL_WITHOUT_MACRO so i guess this is still true because this will act as global identifier. Any thoughts ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool. since there's no dates involved in the code, I think we should remove the date and just start the sentence with "We lint against ...". This is not changing so rapidly that we need to regularly check on it.

Copy link
Contributor Author

@Ko496-glitch Ko496-glitch Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, i was thinking the same if its not statically changing we should just remove it. Other changes looks good ?

@jyn514
Copy link
Member

jyn514 commented Mar 16, 2026

In my opinion, it would be meaningless to just change the date without changing the content. If there is a change in the content, please update the date then

@reddevilmidzy this isn't how date-check works, see https://rustc-dev-guide.rust-lang.org/contributing.html#contributing-to-rustc-dev-guide

@jyn514 jyn514 added S-waiting-on-author Status: this PR is waiting for additional action by the OP and removed S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content labels Mar 16, 2026
@Ko496-glitch
Copy link
Contributor Author

@jyn514 thanks for the feedback, i ll fix it :)

@Ko496-glitch
Copy link
Contributor Author

@jyn514 i have added the llvm 21 and 22 links

@jyn514 jyn514 merged commit 9f6e2fc into rust-lang:main Mar 23, 2026
1 check passed
@jyn514
Copy link
Member

jyn514 commented Mar 23, 2026

@Ko496-glitch thanks for the PR :)

@Ko496-glitch
Copy link
Contributor Author

@Ko496-glitch thanks for the PR :)
we still have big list to complete lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: this PR is waiting for additional action by the OP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants