-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Allow for missing invisible close delim when reparsing an expression. #139298
base: master
Are you sure you want to change the base?
Conversation
@bors r+ rollup |
…nkov Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248. r? `@petrochenkov`
Rollup of 14 pull requests Successful merges: - rust-lang#137869 (Demote i686-pc-windows-gnu to Tier 2) - rust-lang#137880 (Autodiff batching) - rust-lang#138546 (Add integer to string formatting tests) - rust-lang#138947 (Refactor Apple version handling in the compiler) - rust-lang#138950 (replace extra_filename with strict version hash in metrics file names) - rust-lang#139213 (Run coretests and alloctests with cg_clif in CI) - rust-lang#139274 (Rustdoc: typecheck settings.js) - rust-lang#139295 (Remove creation of duplicate `AnonPipe`) - rust-lang#139298 (Allow for missing invisible close delim when reparsing an expression.) - rust-lang#139313 (Deduplicate some `rustc_middle` function bodies by calling the `rustc_type_ir` equivalent) - rust-lang#139317 (compiletest: Encapsulate all of the code that touches libtest) - rust-lang#139322 (Add helper function for checking LLD usage to `run-make-support`) - rust-lang#139335 (Pass correct param-env to `error_implies`) - rust-lang#139342 (Add a mailmap entry for myself) Failed merges: - rust-lang#138949 (Rename `is_like_osx` to `is_like_darwin`) r? `@ghost` `@rustbot` modify labels: rollup
Possibly failed in rollup: #139344 (comment) @bors r- |
@bors try |
Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248. r? `@petrochenkov` --- try-job: test-various
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
I don't understand what's going wrong. The test passes locally and the diff on CI is strange:
|
Oh, I wonder if this is wasm causing problems because the path of the source file defining the macro is different. In the raw stderr, the path on line 44 is:
|
How is wasm involved? I could rewrite the test to use a local macro instead of |
@bors try |
Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248. r? `@petrochenkov` --- try-job: test-various
This comment has been minimized.
This comment has been minimized.
@bors try |
Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248. r? `@petrochenkov` --- try-job: test-various
This comment has been minimized.
This comment has been minimized.
This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248 and rust-lang#139445.
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors try |
⌛ Trying commit fbdf9f8 with merge 732ba88caf76736237d422d1580a6865c071b6ff... |
Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes rust-lang#139248. r? `@petrochenkov` --- try-job: test-various
☀️ Try build successful - checks-actions |
That worked. I still don't understand what went wrong with the @bors r=petrochenkov |
This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax.
Fixes #139248.
r? @petrochenkov
try-job: test-various