-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
Description
Code
#[derive(RustcEncodable)]
struct Struct {}Version information
5c3e2ad
Command
gccrs -frust-incomplete-and-experimental-compiler-do-not-use ./test.rs
Program output
crab1: internal compiler error: in derive, at rust/expand/rust-derive.cc:67
0x29abeb6 internal_error(char const*, ...)
../../gccrs/gcc/diagnostic-global-context.cc:517
0xb48036 fancy_abort(char const*, int, char const*)
../../gccrs/gcc/diagnostic.cc:1803
0x912475 Rust::AST::DeriveVisitor::derive(Rust::AST::Item&, Rust::AST::Attribute const&, Rust::BuiltinMacro)
../../gccrs/gcc/rust/expand/rust-derive.cc:67
0xd615df builtin_derive_item
../../gccrs/gcc/rust/expand/rust-expand-visitor.cc:50
0xd615df Rust::ExpandVisitor::expand_inner_items(std::vector<std::unique_ptr<Rust::AST::Item, std::default_delete<Rust::AST::Item> >, std::allocator<std::unique_ptr<Rust::AST::Item, std::default_delete<Rust::AST::Item> > > >&)
../../gccrs/gcc/rust/expand/rust-expand-visitor.cc:194
0xca13f0 Rust::Session::expansion(Rust::AST::Crate&, Rust::Resolver2_0::NameResolutionContext&)
../../gccrs/gcc/rust/rust-session-manager.cc:958
0xca1e72 Rust::Session::compile_crate(char const*)
../../gccrs/gcc/rust/rust-session-manager.cc:620
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.
Reactions are currently unavailable