about summary refs log tree commit diff
path: root/src/test/compile-fail/no-implicit-prelude-nested.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-64/+0
2017-01-12resolve: Do not use "resolve"/"resolution" in error messagesVadim Petrochenkov-18/+18
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-18/+18
2016-02-19Show candidates for names not in scopeVlad Ureche-15/+15
This commit adds functionality that allows the name resolution pass to search for entities (traits/types/enums/structs) by name, in order to show recommendations along with the errors. For now, only E0405 and E0412 have suggestions attached, as per the request in bug #21221, but it's likely other errors can also benefit from the ability to generate suggestions.
2015-02-24rustc_resolve: use the visitor model more, remove redundant repeated lookups.Eduard Burtescu-15/+15
2014-07-08std: Rename the `ToStr` trait to `ToString`, and `to_str` to `to_string`.Richo Healey-3/+3
[breaking-change]
2014-01-11Remove re-exports of std::io::stdio::{print, println} in the prelude.Brendan Zabarauskas-8/+4
The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
2013-07-17rustc: implement a `#[no_implicit_prelude]` attribute.Huon Wilson-0/+68
It disables the insertion of `use std::prelude::*;` into the top of all the modules below the item on which it is placed (including that item itself).