-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
ui: add regression test for macro resolution ICE (issue #150711) #151052
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
Conversation
|
|
This comment has been minimized.
This comment has been minimized.
a50922d to
cda6bbc
Compare
| //@ edition: 2024 | ||
| #![feature(decl_macro)] | ||
|
|
||
| // Regression test for issue #150711 |
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.
put there a link instead of number
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.
yeah, done!
cda6bbc to
ef9cbad
Compare
|
@bors r+ rollup |
ui: add regression test for macro resolution ICE (issue rust-lang#150711) Added a new test in `test/ui/resolve` for a macro resolution scenario that previously caused an ICE. Files added: - `tests/ui/resolve/decl-macro-use-no-ice.rs` - `tests/ui/resolve/decl-macro-use-no-ice.stderr` Fixes rust-lang#150711 r? @matthiaskrgr r? @petrochenkov
ui: add regression test for macro resolution ICE (issue rust-lang#150711) Added a new test in `test/ui/resolve` for a macro resolution scenario that previously caused an ICE. Files added: - `tests/ui/resolve/decl-macro-use-no-ice.rs` - `tests/ui/resolve/decl-macro-use-no-ice.stderr` Fixes rust-lang#150711 r? @matthiaskrgr r? @petrochenkov
…uwer Rollup of 13 pull requests Successful merges: - #150586 (rustdoc: Fix intra-doc link bugs involving type aliases and associated items) - #150677 (Improve std::path::Path::join documentation) - #150723 (std: move `errno` and related functions into `sys::io`) - #150737 (diagnostics: make implicit Sized bounds explicit in E0277) - #150771 (Remove legacy homu `try` and `auto` branch mentions) - #150915 (Regression test for type params on eii) - #150962 (Remove `FeedConstTy` and provide ty when lowering const arg) - #151017 (Port the rustc dump attributes to the attribute parser) - #151019 (Make `Type::of` support unsized types) - #151034 (std: Change UEFI env vars to volatile storage) - #151052 (ui: add regression test for macro resolution ICE (issue #150711)) - #151053 (Reduce flakyness for `tests/rustdoc-gui/notable-trait.goml`) - #151055 (Emit error instead of delayed bug when meeting mismatch type for const array) r? @ghost
ui: add regression test for macro resolution ICE (issue rust-lang#150711) Added a new test in `test/ui/resolve` for a macro resolution scenario that previously caused an ICE. Files added: - `tests/ui/resolve/decl-macro-use-no-ice.rs` - `tests/ui/resolve/decl-macro-use-no-ice.stderr` Fixes rust-lang#150711 r? @matthiaskrgr r? @petrochenkov
Rollup of 13 pull requests Successful merges: - #150587 (triagebot: add A-rustdoc-js autolabel) - #150677 (Improve std::path::Path::join documentation) - #150737 (diagnostics: make implicit Sized bounds explicit in E0277) - #150771 (Remove legacy homu `try` and `auto` branch mentions) - #150840 (Make `--print=check-cfg` output compatible `--check-cfg` arguments) - #150915 (Regression test for type params on eii) - #151017 (Port the rustc dump attributes to the attribute parser) - #151019 (Make `Type::of` support unsized types) - #151031 (Support arrays in type reflection) - #151043 (armv7-unknown-linux-uclibceabihf.md: Fix bootstrap.toml syntax) - #151052 (ui: add regression test for macro resolution ICE (issue #150711)) - #151053 (Reduce flakyness for `tests/rustdoc-gui/notable-trait.goml`) - #151055 (Emit error instead of delayed bug when meeting mismatch type for const array) r? @ghost
Rollup merge of #151052 - add-test-ice-in-resolve, r=Kivooeo ui: add regression test for macro resolution ICE (issue #150711) Added a new test in `test/ui/resolve` for a macro resolution scenario that previously caused an ICE. Files added: - `tests/ui/resolve/decl-macro-use-no-ice.rs` - `tests/ui/resolve/decl-macro-use-no-ice.stderr` Fixes #150711 r? @matthiaskrgr r? @petrochenkov
Added a new test in
test/ui/resolvefor a macroresolution scenario that previously caused an ICE.
Files added:
tests/ui/resolve/decl-macro-use-no-ice.rstests/ui/resolve/decl-macro-use-no-ice.stderrFixes #150711
r? @matthiaskrgr
r? @petrochenkov