Skip to content

ICE: After undeclared module error #44946

Closed
@jgouly

Description

@jgouly

This short code produces an ICE after correctly reporting an error:

const A: usize = C::D::<u32>();

No special options needed:

$ rustc 44946.rs

Rust version:

$ rustc --version --verbose
rustc 1.22.0-nightly (1ed7d41d8 2017-09-24)  
binary: rustc 
commit-hash: 1ed7d41d8849d930f0622eaf54049f66fff0ca2a
commit-date: 2017-09-24  
host: x86_64-unknown-linux-gnu
release: 1.22.0-nightly
LLVM version: 4.0

Activity

petrochenkov

petrochenkov commented on Sep 30, 2017

@petrochenkov
Contributor

Very similar to #44858, fixed in #44945
(I'll add a test.)

jgouly

jgouly commented on Sep 30, 2017

@jgouly
Author
self-assigned this
on Oct 1, 2017
added a commit that references this issue on Oct 1, 2017

Auto merge of #44945 - petrochenkov:fixtyrec, r=arielb1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @jgouly@TimNN@petrochenkov

      Issue actions

        ICE: After undeclared module error · Issue #44946 · rust-lang/rust