Skip to content
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

Modules with same names as built in types causes ICE #3315

Open
matthewjasper opened this issue Dec 21, 2024 · 0 comments
Open

Modules with same names as built in types causes ICE #3315

matthewjasper opened this issue Dec 21, 2024 · 0 comments
Labels

Comments

@matthewjasper
Copy link
Contributor

Code

mod i32 {}

Meta

Version: gccrs (Compiler-Explorer-Build-gcc-b5c354d038f800695a8d730c56c4a4f744134adb-binutils-2.42) 14.0.1 20240309 (experimental)

Error output

crab1: internal compiler error: in setup_builtin_types, at rust/resolve/rust-late-name-resolver-2.0.cc:97
0x27eb5ec internal_error(char const*, ...)
	???:0
0xaf6cc9 fancy_abort(char const*, int, char const*)
	???:0
0xdbb522 Rust::Resolver2_0::Late::go(Rust::AST::Crate&)
	???:0
0xc4bef0 Rust::Session::compile_crate(char const*)
	???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant