about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-17405.rs
AgeCommit message (Collapse)AuthorLines
2018-07-15Move some `compile-fail` tests to `ui`Esteban Küber-19/+0
2016-10-27Preparations and cleanupVadim Petrochenkov-1/+1
Diagnostics for struct path resolution errors in resolve and typeck are unified. Self type is treated as a type alias in few places (not reachable yet). Unsafe cell is seen in constants even through type aliases. All checks for struct paths in typeck work on type level.
2016-07-08Resolve partially resolved paths in struct patterns/expressionsVadim Petrochenkov-1/+0
Treat Def::Err correctly in struct patterns Make instantiate_path and instantiate_type a bit closer to each other
2016-06-10resolve: Rewrite resolve_patternVadim Petrochenkov-1/+2
2015-01-31Kill more `isize`sTobias Bucher-1/+1
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-11-17Switch to purely namespaced enumsSteven Fackler-1/+1
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-10-24Update tests with the new error messagesJakub Bukaj-1/+1
2014-10-05Fix handling of struct variants in a couple of placesJakub Wieczorek-0/+19
Fixes #17405. Fixes #17518. Fixes #17800.