Skip to content

Goal for resolving cargo-semver-checks blockers for merging into cargo.#53

Merged
nikomatsakis merged 1 commit intorust-lang:mainfrom
obi1kenobi:cargo-semver-checks-goal
Jul 18, 2024
Merged

Goal for resolving cargo-semver-checks blockers for merging into cargo.#53
nikomatsakis merged 1 commit intorust-lang:mainfrom
obi1kenobi:cargo-semver-checks-goal

Conversation

@obi1kenobi
Copy link
Copy Markdown
Member

@nikomatsakis nikomatsakis merged commit f6552b2 into rust-lang:main Jul 18, 2024
@obi1kenobi obi1kenobi deleted the cargo-semver-checks-goal branch July 18, 2024 13:31
nikomatsakis added a commit to nikomatsakis/rust-project-goals-ndm that referenced this pull request Jun 5, 2025
Goal for resolving cargo-semver-checks blockers for merging into cargo.
Brace1000 added a commit to Brace1000/rust that referenced this pull request Apr 8, 2026
Make it clear that vertical tab (U+000B) isn’t treated as ASCII
whitespace by the standard library, and note that the parser behaves
differently.

See: rust-lang/rust-project-goals#53
Brace1000 added a commit to Brace1000/rust that referenced this pull request Apr 9, 2026
Add two small tests to highlight how vertical tab is handled differently.

- vertical_tab_lexer.rs checks that the lexer treats vertical tab as whitespace
- ascii_whitespace_excludes_vertical_tab.rs shows that split_ascii_whitespace does not split on it

This helps document the difference between the Rust parser (which accepts vertical tab)
and the standard library’s ASCII whitespace handling.

See: rust-lang/rust-project-goals#53
@Brace1000
Copy link
Copy Markdown

Hi @teor2345, I have switched to adding whitespace tests for rustc
as suggested. I have opened a PR with two tests documenting the
difference between the Rust lexer's whitespace handling and
split_ascii_whitespace:

rust-lang/rust#155028

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