Skip to content

std::rt: Reduce the delay on a timer test. Slow - #7195

Closed
brson wants to merge 1 commit into
rust-lang:masterfrom
brson:timertest
Closed

brson wants to merge 1 commit into
rust-lang:masterfrom
brson:timertest

Conversation

@brson

@brson brson commented Jun 17, 2013

Copy link
Copy Markdown
Contributor

No description provided.

bors added a commit that referenced this pull request Jun 17, 2013
@bors bors closed this Jun 17, 2013
djkoloski pushed a commit to djkoloski/rust that referenced this pull request Sep 21, 2022
Migrate write.rs to a late pass

changelog: Migrates write.rs from a pre expansion pass to a late pass
changelog: [`positional_named_format_parameters`] is renamed in favour of the rustc lint `named_arguments_used_positionally`

- Macros are now identified by diagnostic items, so will no longer lint user defined macros named, e.g. a custom `print!`
- `print_literal`/`write_literal` no longer lint no longer lint literals that come from macro expansions, e.g. `env!("FOO")`
- `print_with_newline`/`write_with_newline` no longer lint strings with any internal `\r` or `\n`s

~~A false negative, `print_literal`/`write_literal` don't lint format strings that produce `FormatSpec`s, e.g. ones containing pretty print/width/align specifiers~~

Suggestion changes:
- ~~`print_literal`/`write_literal` no longer have suggestions, as the spans for the `{}`s were not easily obtainable~~
-  `print_with_newline`/`write_with_newline` has a better suggestion for a sole literal newline, but no longer has suggestions for len > 1 strings that end in a literal newline
- ~~`use_debug` spans are less precise, now point to the whole format string~~

The diff for write.rs is pretty unwieldy, other than for the `declare_clippy_lint!`s I think you'd be better off viewing it as a brand new file rather than looking at the diff, as it's mostly written from scratch

cc rust-lang#6610, fixes rust-lang#5721, fixes rust-lang#7195, fixes rust-lang#8615
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7195: Update remaining serverPath references r=lnicola a=lnicola

Fixes rust-lang/rust-analyzer#7156 (comment)

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
ytmimi pushed a commit to ytmimi/rust that referenced this pull request Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants