summary refs log tree commit diff
path: root/src/librustc/plugin/load.rs
AgeCommit message (Collapse)AuthorLines
2014-09-12Track the visited AST's lifetime throughout Visitor.Eduard Burtescu-1/+1
2014-09-12Remove largely unused context from Visitor.Eduard Burtescu-4/+4
2014-07-21rustc: Pass optional additional plugins to compile_inputBrian Anderson-2/+16
This provides a way for clients of the rustc library to add their own features to the pipeline.
2014-07-11make walk/visit_mac opt-in onlyJohn Clements-0/+5
macros can expand into arbitrary items, exprs, etc. This means that using a default walker or folder on an AST before macro expansion is complete will miss things (the things that the macros expand into). As a partial fence against this, this commit moves the default traversal of macros into a separate procedure, and makes the default trait implementation signal an error. This means that Folders and Visitors can traverse macros if they want to, but they need to explicitly add an impl that calls the walk_mac or fold_mac procedure This should prevent problems down the road.
2014-06-28Rename all raw pointers as necessaryAlex Crichton-1/+1
2014-06-13librustc: Forbid `transmute` from being called on types whose size isPatrick Walton-2/+4
only known post-monomorphization, and report `transmute` errors before the code is generated for that `transmute`. This can break code that looked like: unsafe fn f<T>(x: T) { let y: int = transmute(x); } Change such code to take a type parameter that has the same size as the type being transmuted to. Closes #12898. [breaking-change]
2014-06-09std: Move dynamic_lib from std::unstable to stdBrian Anderson-1/+1
This leaves a deprecated reexport in place temporarily. Closes #1457.
2014-06-09Document rustc::pluginKeegan McAllister-1/+15
2014-06-09Implement #[plugin_registrar]Keegan McAllister-0/+131
See RFC 22. [breaking-change]