about summary refs log tree commit diff
path: root/src/librustc/middle/entry.rs
AgeCommit message (Collapse)AuthorLines
2019-10-04middle::entry -> rustc_passesMark Rousskov-202/+0
2019-09-26Rename `Item.node` to `Item.kind`varkor-1/+1
2019-09-14Provide a span if main function is not present in crateMark Rousskov-30/+44
Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note.
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: librustcAlexander Regueiro-9/+9
2019-07-23normalize use of backticks for compiler messages in remaining modulesSamy Kacimi-3/+3
https://github.com/rust-lang/rust/issues/60532
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-4/+4
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-1/+1
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-4/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-3/+3
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-3/+3
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-1/+1
And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s.
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-3/+4
2019-04-11Continue evaluating after missing mainEsteban Küber-1/+0
2019-03-02hir: remove NodeId from Itemljedrz-17/+16
2019-02-05move librustc to 2018Mark Mansi-8/+8
2019-01-15Querify entry_fnIgor Matuszewski-31/+46
2018-12-26Store `Ident` rather than just `Name` in HIR types `Item` and `ForeignItem`.Alexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-2/+2
2018-10-06rustc/middle: whitespace & formatting fixesljedrz-7/+3
2018-09-29don't elide lifetimes in paths in librustc/Zack M. Davis-3/+3
This seemed like a good way to kick the tires on the elided-lifetimes-in-paths lint (#52069)—seems to work! This was also pretty tedious—it sure would be nice if `cargo fix` worked on this codebase (#53896)!
2018-08-04Normalize EntryFnType variants to standard styleMark Rousskov-3/+4
2018-08-04Normalize variants of CrateType to standard styleMark Rousskov-1/+1
This is a clippy-breaking change.
2018-07-16ItemKindcsmoe-2/+2
2018-04-10Combine Session.entry_fn and Session.entry_type and make them thread-safeJohn Kåre Alsaker-10/+9
2018-03-14Add backticks to `main` not found errors.Eric Huss-2/+2
2018-03-14Add suggestion where to add main function.Eric Huss-0/+3
2018-03-14Add crate name to "main function not found" error message.Eric Huss-4/+7
Fixes #44798 and rust-lang/cargo#4948.
2018-02-07Add `-Zteach` documentationEsteban Küber-0/+4
Add extra inline documentation to E0019, E0016, E0013, E0396, E0017, E0018, E0010, E0022, E0030, E0029, E0033, E0026 and E0027.
2017-07-05use field init shorthand in src/librustcZack M. Davis-1/+1
The field init shorthand syntax was stabilized in 1.17.0 (aebd94f); we are now free to use it in the compiler.
2017-05-30Add new error codeGuillaume Gomez-1/+1
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-4/+4
2017-04-18kill a bunch of one off tasksNiko Matsakis-3/+0
2017-01-26rustc: don't call the HIR AST.Eduard-Mihai Burtescu-7/+7
2016-12-28rustc: separate TraitItem from their parent Item, just like ImplItem.Eduard-Mihai Burtescu-1/+4
2016-11-29rustc: replace body exprs by their idsFlorian Diebold-0/+1
2016-11-21Cleanup `InternedString`.Jeffrey Seyfried-1/+1
2016-11-16fallout from separating impl-items from implsNiko Matsakis-1/+5
Basically adding `visit_impl_item` in various places and so forth.
2016-11-16refactor Visitor into ItemLikeVisitor and intravisit::VisitorNiko Matsakis-3/+3
There are now three patterns (shallow, deep, and nested visit). These are described in detail on the docs in `itemlikevisit::ItemLikeVisitor`.
2016-08-11Update E0138 to new formatChiu-Hsiang Hsu-2/+7
2016-08-04Update error format for E0137Vincent Prouillet-2/+5
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-3/+3
2016-02-05Instrument a bunch of tasks that employ the HIR map in one way orNiko Matsakis-0/+3
another and were not previously instrumented.
2015-12-30use structured errorsNick Cameron-6/+9
2015-11-18Port entry code to `visit_all_items` -- since this was tracking whetherNiko Matsakis-18/+16
the main fn appeared at the top level, if now consults the `DefPath` to get this information
2015-09-24Cleanup interfaces of Name, SyntaxContext and IdentVadim Petrochenkov-1/+1
Make sure Name, SyntaxContext and Ident are passed by value Make sure Idents don't serve as keys (or parts of keys) in maps, Ident comparison is not well defined
2015-09-22Use Names in HIR ItemsVadim Petrochenkov-1/+1
2015-09-16Use ast attributes every where (remove HIR attributes).Nick Cameron-2/+2
This could be a [breaking-change] if your lint or syntax extension (is that even possible?) uses HIR attributes or literals.