Closed
Description
When compiling https://github.com/Zoxc/RustParser/tree/4f9284bb576bd4b68054bfe1b96c146b0bfd7e48
On rustc 1.1.0-nightly (90cc830 2015-04-22) (built 2015-04-23) and rustc 1.1.0-nightly (da62384 2015-04-25) (built 2015-04-26).
cargo run
Compiling parser v0.1.0 (file:///B:/Programmering/Lang2/RustParser/parser)
src\parser.rs:321:22: 41:25 error: attempted access of field `span` on type `ast::N<ast::Ty>`, but no field with that name was found
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'capacity overflow', C:/bot/slave/nightly-dist-rustc-win-64/build/src/libcore\option.rs:330
stack backtrace:
1: 0x711b6f28 - sys::backtrace::write::hadc3c0fd0973fcf0L9r
2: 0x711c0411 - rt::unwind::register::h552a25b201babb70zuv
3: 0x71185200 - rt::unwind::begin_unwind_inner::h898d33e1214d96a4Jrv
4: 0x71185c17 - rt::unwind::begin_unwind_fmt::h9942b1985ee508bdPqv
5: 0x711c007a - rust_begin_unwind
6: 0x711d8209 - panicking::panic_fmt::h4fda9fba900efc41yKy
7: 0x4b5513 - codemap::CodeMap::span_to_lines::h212fb71d60628d42eiA
8: 0x4f6ee1 - diagnostic::Destination.Write::flush::h9424a80c681a6f858SB
9: 0x4f4e06 - diagnostic::EmitterWriter.Emitter::emit::h6838c6eec921e61dvTB
10: 0x4ac60b - diagnostic::SpanHandler::span_err::h4505bd980d1d01821oB
11: 0xc5a2df - session::Session::span_err::h139fb33f1377ba3dMhp
12: 0x145dc0d - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
13: 0x1466226 - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
14: 0x1489f4a - check::Expectation<'tcx>.Repr<'tcx>::repr::h12696914f8ca39f6A8r
15: 0x1439e9e - check::GatherLocalsVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h2217a1ca6922a5cdv4n
16: 0x1465e25 - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
17: 0x147cde1 - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
18: 0x1439ee1 - check::GatherLocalsVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h2217a1ca6922a5cdv4n
19: 0x144fb5e - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
20: 0x145fdc1 - check::UnresolvedTypeAction...std..clone..Clone::clone::hd8a8eda72fed9cc3yKp
21: 0x1439e74 - check::GatherLocalsVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h2217a1ca6922a5cdv4n
22: 0x141d68a - check::FnCtxt<'a, 'tcx>.AstConv<'tcx>::projected_ty::h69e389465fa8a188cTo
23: 0x14358cf - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h21b049729c04fab3pRn
24: 0x143e58a - check::GatherLocalsVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h2217a1ca6922a5cdv4n
25: 0x14339ab - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h21b049729c04fab3pRn
26: 0x1433d1f - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h21b049729c04fab3pRn
27: 0x14ef24b - check_crate::h82dccdfc3a50d8fapCC
28: 0x14ea399 - check_crate::h82dccdfc3a50d8fapCC
29: 0x652e20d9 - driver::phase_3_run_analysis_passes::h16f3d4c5d33f7f9etGa
30: 0x652c2b5b - driver::compile_input::hc3f8157a9f13e39fQba
31: 0x6537c063 - run_compiler::h5b60c520e23e6ab6F4b
32: 0x65379bef - run::h0e08021a376a8e05l4b
33: 0x6537917a - run::h0e08021a376a8e05l4b
34: 0x711f52cc - rust_try
35: 0x711f52a9 - rust_try
36: 0x65379411 - run::h0e08021a376a8e05l4b
37: 0x711be604 - sys::process2::Command::cwd::h1fb48720c2b98815w9t
38: 0x7ffa258e13d2 - BaseThreadInitThunk
Could not compile `parser`.
To learn more, run the command again with --verbose.```