summary refs log tree commit diff
path: root/src/test/compile-fail/enum-and-module-in-same-scope.rs
AgeCommit message (Collapse)AuthorLines
2016-08-20Fix broken tests for E0428trixnz-1/+2
2016-03-16Fix fallout in testsJeffrey Seyfried-2/+2
2016-02-14Rename Module field anonymous_children to module_children, expand it to ↵Jeffrey Seyfried-4/+5
include both named an anonymous modules, and fix #31644
2015-11-16Refactor fields def_id and kind of Module into a single field def.Jeffrey Seyfried-1/+1
Change build_reduced_graph.rs so the fields def and module of NsDef are never both Some unless the NsDef represents a duplicate definition (see issue 26421).
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-10-31First stage of enum namespacing changesSteven Fackler-1/+1
2014-07-07librustc: Disallow modules and types from having the same name.Patrick Walton-0/+19
This will break code that looks like: struct Foo { ... } mod Foo { ... } Change this code to: struct Foo { ... } impl Foo { ... } Or rename the module. Closes #15205. [breaking-change]