-
Notifications
You must be signed in to change notification settings - Fork 13k
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
tidy watcher #114209
base: master
Are you sure you want to change the base?
tidy watcher #114209
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,6 +176,7 @@ pub(crate) fn default_configuration(sess: &Session) -> Cfg { | |
// | ||
// NOTE: These insertions should be kept in sync with | ||
// `CheckCfg::fill_well_known` below. | ||
// FIXME: sync me | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Is it possible to still apply this tidy annotation in that case ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This pr/feature can only assert that some spans unchanged, nothing more. It's up to author/reviewer check actual content. Should i wrap entire default_configuration/fill_well_known fns? |
||
|
||
if sess.opts.debug_assertions { | ||
ins_none!(sym::debug_assertions); | ||
|
@@ -334,6 +335,7 @@ impl CheckCfg { | |
// The exceptions are where control flow forces things out of order. | ||
// | ||
// NOTE: This should be kept in sync with `default_configuration`. | ||
// FIXME: what exactly sync there? | ||
// Note that symbols inserted conditionally in `default_configuration` | ||
// are inserted unconditionally here. | ||
// | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is a semantic sync rather than a data sync, and violating it would cause a bunch of tests to break, so it's probably not worth the hassle of adding sync-check tags here.