rust/src/librustc_resolve
bors 93426613a7 Auto merge of #45942 - Menschenkindlein:master, r=estebank
Add hints for the case of confusing enum with its variants

A solution for https://github.com/rust-lang/rust/issues/43871. When one uses an enum in a place that accepts variants (e.g., `Option(result)` instead of `Some(result)`), suggest one of this enum's variants.

cc @estebank
2017-11-24 01:44:19 +00:00
..
build_reduced_graph.rs Support ::crate in paths 2017-11-21 00:21:24 +03:00
Cargo.toml Make DefIndex use newtype_index macro 2017-11-04 19:22:37 -03:00
check_unused.rs Fix help for duplicated names: extern crate (...) as (...) 2017-11-08 10:36:14 -08:00
diagnostics.rs doc-test: In Markdown tests, Use all of <h1> to <h6> as the test name. 2017-10-08 00:49:33 +08:00
lib.rs Auto merge of #45942 - Menschenkindlein:master, r=estebank 2017-11-24 01:44:19 +00:00
macros.rs Add structured suggestions for proc macro use imports 2017-11-20 09:36:49 +01:00
resolve_imports.rs Report special messages for path segment keywords in wrong positions 2017-11-21 00:21:24 +03:00