Skip to content

Instantly share code, notes, and snippets.

@SiegeLord
Created August 4, 2013 15:07
Show Gist options
  • Save SiegeLord/6150614 to your computer and use it in GitHub Desktop.
Save SiegeLord/6150614 to your computer and use it in GitHub Desktop.
Regression?
use private::*;
impl A
{
fn test()
{
}
}
mod private
{
struct A;
}
fn main()
{
}
/*
test.rs:3:5: 3:6 error: found value name used as a type: def_mod({crate: 0, node: 8})
test.rs:3 impl A
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment