Add PointerKind to LpDeref
Prohibit assignment to `&mut` pointers that are found in frozen or borrowed locations.

Fixes #8625.
librustpkg/tests.rs: cleanup unused import
Extend aliasability check to uncover `& &mut &mut` and the like
Remove remnants of implicit self
Add test for #5783
auto merge of #8792 : adridu59/rust/master, r=catamorphism

`target_library_in_workspace` is imported but unused:
~/rust/src/librustpkg/tests.rs:21:48: 21:75 warning: unused import [-W unused-imports (default)]
auto merge of #8797 : nikomatsakis/rust/issue-8625-assign-to-andmut-in-borrowed-loc-2, r=pcwalton

Fixes for #8625 to prevent assigning to `&mut` in borrowed or aliasable locations. The old code was insufficient in that it failed to catch bizarre cases like `& &mut &mut`. 

r? @pnkfelix
auto merge of #8799 : fhahn/rust/ticket_5783, r=catamorphism

I've added a testcase, as mentioned in #5783
librustc: Remove `&const` and `*const` from the language.

They are still present as part of the borrow check.
librustc: Add support for type parameters in the middle of paths.

For example, `foo::<T>::bar::<U>`.

This doesn't enforce that the type parameters are in the right
positions, however.
librustc: Ensure that type parameters are in the right positions in paths.

This removes the stacking of type parameters that occurs when invoking
trait methods, and fixes all places in the standard library that were
relying on it. It is somewhat awkward in places; I think we'll probably
want something like the `Foo::<for T>::new()` syntax.
librustc: Convert check loans to use the new visitor
test: xfail a test that relies on old path behavior.
librustc: Fix merge fallout.
librustc: Stop calling `each_path` in coherence.

10% win or so for small crates.
libstd: Fix merge fallout.
librustc: Remove `each_path`.

This does not implement lazy symbol resolution yet.
librustc: Implement lazy module loading.
librustc: Implement basic lazy implementation loading.

This is only for implementations defined in the same crate as the trait they
implement.