about summary refs log tree commit diff
path: root/src/librustc_borrowck
AgeCommit message (Collapse)AuthorLines
2015-08-24convert to use `is_local` instead of `== LOCAL_CRATE`Niko Matsakis-3/+3
2015-08-24fallout from moving def-idNiko Matsakis-6/+8
2015-08-16FnFnBlock -> FkClosureManish Goregaokar-1/+1
2015-08-15Add issue for the rustc_private feature everywhereAlex Crichton-1/+1
2015-08-13Auto merge of #27758 - nathankleyn:diagnostics-386, r=Manishearthbors-1/+30
This adds detailed diagnostics for E0386, 'cannot assign to data in an immutable container'. This is part of rust-lang/rust#24407. r? @Manishearth
2015-08-13Improve interior mutability example for E0386.Nathan Kleyn-1/+2
2015-08-13Add details about types with interior mutability to E0386.Nathan Kleyn-0/+8
Types with interior mutability like `Cell` and `RefCell` can be used to skirt the restriction on mutating mutable values inside an immutable container.
2015-08-13Add detailed diagnostics for E0386.Nathan Kleyn-1/+21
This adds detailed diagnostics for E0386, 'cannot assign to data in an immutable container'.
2015-08-13Improve code examples for E0383 long diagnostic.Nathan Kleyn-10/+7
2015-08-13Add detailed diagnostics for E0383.Nathan Kleyn-1/+24
This adds detailed diagnostics for E0383, 'partial reinitialization of uninitialized structure'. This is part of rust-lang/rust#24407.
2015-08-11rollup merge of #27622: eefriedman/https-urlAlex Crichton-2/+2
Also fixes a few outdated links.
2015-08-11rollup merge of #27605: AlisdairO/diagnostics387Alex Crichton-1/+54
As title :-) Part of #24407. r? @Manishearth
2015-08-10fix import nit for long diagnostics on E0387Alisdair Owens-1/+3
2015-08-10add info about cell types to diagnostic message E0387Alisdair Owens-2/+18
2015-08-09Use https URLs to refer to rust-lang.org where appropriate.Eli Friedman-2/+2
Also fixes a few outdated links.
2015-08-08add long diagnostics for E0382Alisdair Owens-1/+63
2015-08-08add diagnostics for E0387Alisdair Owens-1/+36
2015-08-06use VariantDef instead of struct_fieldsAriel Ben-Yehuda-24/+14
2015-08-06introduce an ADTDef struct for struct/enum definitionsAriel Ben-Yehuda-26/+24
2015-08-02Added error explanation for E0384.Agoston Szepessy-1/+22
2015-07-28Auto merge of #27234 - oli-obk:move_get_name_get_ident_to_impl, r=eddybbors-2/+1
this has quite some fallout. but also made lots of stuff more readable imo [breaking-change] for plugin authors
2015-07-28remove `get_ident` and `get_name`, make `as_str` soundOliver Schneider-2/+1
2015-07-28build fragmented map earlier to make its dependencies clearer.Felix S. Klock II-4/+3
2015-07-28rustc and rustc::borrowck: pass fragment info down into trans.Felix S. Klock II-4/+98
2015-07-23Add long diagnostics for E0373Alisdair Owens-1/+50
2015-07-11Suggest using `ref` inline in an errorP1start-2/+13
2015-07-03Auto merge of #26378 - arielb1:unused-mut, r=pnkfelixbors-271/+135
This makes it somewhat more aggressive, so this is kind-of a [breaking-change] for these compiling with `#[deny(unused_mut)]`. r? @pnkfelix
2015-07-01Make the unused_mut lint smarter with respect to locals.Ariel Ben-Yehuda-17/+8
Fixes #26332
2015-07-01Clean-up assignment checking in borrowckAriel Ben-Yehuda-264/+137
2015-06-30Remove Typer and ClosureTyperJared Roesch-1/+0
This commit finalizes the work of the past commits by fully moving the fulfillment context into the InferCtxt, cleaning up related context interfaces, removing the Typer and ClosureTyper traits and cleaning up related intefaces
2015-06-30Remove Typer + ClosureTyper impls for ParameterEnvJared Roesch-7/+10
2015-06-26rustc: switch most remaining middle::ty functions to methods.Eduard Burtescu-27/+23
2015-06-24Use correct type for "use of moved value" error with closures.Nick Hamann-1/+1
Fixes #24357
2015-06-19rustc: remove Repr and UserString.Eduard Burtescu-98/+94
2015-06-19rustc: replace Repr/UserString impls with Debug/Display ones.Eduard Burtescu-32/+32
2015-06-19Clean up unused argument/variable warnings.Eduard Burtescu-6/+4
2015-06-19rustc: use the TLS type context in Repr and UserString.Eduard Burtescu-75/+75
2015-06-19rustc: leave only one free top-level function in ppaux, and private.Eduard Burtescu-2/+3
2015-06-19rustc: reduce ppaux's public footprint to 5 functions.Eduard Burtescu-20/+14
2015-06-16Remove unused type InteriorSafety.Eli Friedman-16/+4
2015-06-12Cleanup: rename middle::ty::sty and its variants.Eli Friedman-7/+7
Use camel-case naming, and use names which actually make sense in modern Rust.
2015-06-11Auto merge of #26190 - Veedrac:no-iter, r=alexcrichtonbors-3/+3
Pull request for #26188.
2015-06-11Conver reborrows to .iter() calls where appropriateJoshua Landau-2/+2
2015-06-10Removed many pointless calls to *iter() and iter_mut()Joshua Landau-1/+1
2015-06-10Auto merge of #26182 - Manishearth:rollup, r=Manishearthbors-9/+9
- Successful merges: #26142, #26143, #26145, #26146, #26164, #26174 - Failed merges:
2015-06-10Rollup merge of #26146 - steveklabnik:remove_unsafe_pointer, r=GankroManish Goregaokar-2/+2
Using two terms for one thing is confusing, these are called 'raw pointers' today.
2015-06-10syntax: move ast_map to librustc.Eduard Burtescu-2/+2
2015-06-09Exise 'unsafe pointer' in favor of 'raw pointer'Steve Klabnik-2/+2
Using two terms for one thing is confusing, these are called 'raw pointers' today.
2015-06-09Exise 'owned pointer' from the codebaseSteve Klabnik-7/+7
Still some references left to this old term, I've updated them to say boxes. Related to #25851
2015-05-27Auto merge of #25790 - eddyb:oh-snap-ctfe-arrived, r=alexcrichtonbors-3/+0