rust/src
Eduard-Mihai Burtescu 7894d2aad6 Rollup merge of #37481 - estebank:lifetime-help-removal-for-impl, r=eddyb
Don't provide hint to add lifetime on impl items

``` rust
use std::str::FromStr;

pub struct Foo<'a> {
    field: &'a str,
}

impl<'a> FromStr for Foo<'a> {
    type Err = ();
    fn from_str(path: &str) -> Result<Self, ()> {
        Ok(Foo { field: path })
    }
}
```

would give the following hint:

``` nocode
help: consider using an explicit lifetime parameter as shown: fn from_str(path: &'a str) -> Result<Self, ()>
  --> <anon>:9:5
   |
9  |     fn from_str(path: &str) -> Result<Self, ()> {
   |     ^
```

which is never correct, since then there will be a lifetime mismatch between the `impl` and the trait.

Remove this hint for all `impl` items.

Re: #37363.
2016-11-12 10:38:37 +02:00
..
bootstrap bootstrap: rust-docs is a default package 2016-11-11 21:47:18 +00:00
build_helper run rustfmt on various folders 2016-10-16 15:41:01 +05:30
compiler-rt@3bc0272cab std: Update compiler-rt for more ABI fixes 2016-11-10 09:23:29 -08:00
doc Rollup merge of #37368 - trotter:patch-1, r=steveklabnik 2016-11-12 10:38:37 +02:00
driver
etc Add libproc_macro from local rust to stage0 2016-10-19 00:12:42 -07:00
grammar
jemalloc@e058ca6616
liballoc Auto merge of #37657 - steveklabnik:rollup, r=steveklabnik 2016-11-09 05:35:23 -08:00
liballoc_jemalloc Add Fuchsia support 2016-10-22 07:08:06 -07:00
liballoc_system Print out the error when HeapFree failures do occur 2016-10-25 10:00:16 -04:00
libarena Auto merge of #37270 - Mark-Simulacrum:smallvec-optimized-arenas, r=eddyb 2016-10-26 03:47:55 -07:00
libbacktrace
libcollections Rollup merge of #37587 - ollie27:to_mut, r=alexcrichton 2016-11-05 10:50:25 -07:00
libcollectionstest Fix issues with the Add/AddAssign impls for Cow<str> 2016-11-04 01:07:00 +00:00
libcompiler_builtins Don't build any native compiler-builtin components for emscripten 2016-09-30 14:04:09 -07:00
libcore Rollup merge of #37627 - GuillaumeGomez:missing_urls_bis, r=frewsxcv 2016-11-09 20:51:18 +02:00
libcoretest Merge branch 'master' of https://github.com/rust-lang/rust 2016-11-01 15:26:22 +01:00
libflate Use fast decompression in deflate_bytes. 2016-10-20 15:08:01 +11:00
libfmt_macros
libgetopts Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
libgraphviz Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
liblibc@7d9b71f097 Support for aarch64 architecture on Fuchsia 2016-10-24 16:58:35 -07:00
liblog run rustfmt on liblog 2016-10-12 23:45:03 +05:30
libpanic_abort rustc_typeck: correctly track "always-diverges" and "has-type-errors". 2016-11-10 01:44:53 +02:00
libpanic_unwind Remove mention of mipsel target_arch 2016-11-07 14:15:58 +08:00
libproc_macro Allow proc_macro functions to whitelist specific attributes 2016-11-08 23:03:56 +10:30
libproc_macro_plugin Split up libproc_macro_plugin 2016-10-28 12:17:17 +13:00
libproc_macro_tokens proc_macro_plugin: Wrap nonexistent filename in <> 2016-11-09 14:55:39 +01:00
librand Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
librustc Rollup merge of #37481 - estebank:lifetime-help-removal-for-impl, r=eddyb 2016-11-12 10:38:37 +02:00
librustc_back use arm abi blacklist for aarch64 fuchsia 2016-11-06 20:41:46 +01:00
librustc_bitflags std: Stabilize and deprecate APIs for 1.13 2016-10-03 10:34:34 -07:00
librustc_borrowck rustc: use an Expr instead of a Block for function bodies. 2016-11-10 01:44:45 +02:00
librustc_const_eval Work around a borrow surviving too long (fixes #37686) 2016-11-10 14:43:46 +01:00
librustc_const_math Stabilise ? 2016-10-12 08:40:22 +13:00
librustc_data_structures Replace FnvHasher use with FxHasher. 2016-11-08 15:14:59 +11:00
librustc_driver rustc_typeck: correctly track "always-diverges" and "has-type-errors". 2016-11-10 01:44:53 +02:00
librustc_errors Merge branch 'new-rustbuild' into rollup 2016-11-05 10:50:26 -07:00
librustc_incremental Add variants Def::Macro and Namespace::MacroNS. 2016-11-10 09:21:44 +00:00
librustc_lint Rollup merge of #37412 - eddyb:lazy-6, r=nikomatsakis 2016-11-10 03:46:28 +02:00
librustc_llvm Register and stability check #[no_link] crates. 2016-11-10 09:21:29 +00:00
librustc_metadata Support #[macro_reexport]ing custom derives. 2016-11-10 11:19:34 +00:00
librustc_mir Rollup merge of #37412 - eddyb:lazy-6, r=nikomatsakis 2016-11-10 03:46:28 +02:00
librustc_passes Rollup merge of #37412 - eddyb:lazy-6, r=nikomatsakis 2016-11-10 03:46:28 +02:00
librustc_platform_intrinsics
librustc_plugin Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
librustc_privacy rustc: unify and simplify managing associated items. 2016-11-10 02:06:34 +02:00
librustc_resolve Auto merge of #37456 - estebank:unused-imports-verbosity, r=jonathandturner 2016-11-11 09:04:17 -08:00
librustc_save_analysis Add variants Def::Macro and Namespace::MacroNS. 2016-11-10 09:21:44 +00:00
librustc_trans Get rid of superfluous HashMap in LocalCrateContext. We only need the str slice type. 2016-11-10 16:15:06 -05:00
librustc_typeck Auto merge of #36615 - sinkuu:e0243_0244, r=nrc 2016-11-10 23:44:44 -08:00
librustc_unicode std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
librustdoc Rollup merge of #37190 - QuietMisdreavus:rustdoc-where-newline, r=GuillaumeGomez 2016-11-12 10:38:36 +02:00
libserialize Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
libstd doc: fix typos 2016-11-10 05:23:41 +02:00
libsyntax Auto merge of #37246 - goffrie:no-loop, r=jseyfried 2016-11-11 02:51:01 -08:00
libsyntax_ext Auto merge of #37645 - jseyfried:fix_crate_var_in_custom_derives, r=nrc 2016-11-10 11:25:17 -08:00
libsyntax_pos Group unused import warnings per path list 2016-11-08 17:44:21 -08:00
libterm Fix terminfo database search path 2016-11-06 18:20:38 +01:00
libtest Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
libunwind Add Fuchsia support 2016-10-22 07:08:06 -07:00
llvm@c1d962263b LLVM: Update submodule to rust-llvm-2016-10-29 branch. 2016-10-29 18:56:20 +03:00
rt
rtstartup Rename static mut to upper case 2016-10-14 17:21:11 +03:00
rust-installer@4f99485080 Update rust-installer. Fixes #36451 2016-10-05 00:17:30 +00:00
rustc Use workspaces and switch to a single Cargo.lock. 2016-10-07 12:04:32 -07:00
rustllvm LLVM: Update submodule to rust-llvm-2016-10-29 branch. 2016-10-29 18:56:20 +03:00
test Rollup merge of #37481 - estebank:lifetime-help-removal-for-impl, r=eddyb 2016-11-12 10:38:37 +02:00
tools rustbuild: Tweak for vendored dependencies 2016-11-08 07:32:05 -08:00
vendor rustbuild: Vendor all dependencies 2016-11-08 07:32:05 -08:00
Cargo.lock rustbuild: Tweak for vendored dependencies 2016-11-08 07:32:05 -08:00
Cargo.toml Use workspaces and switch to a single Cargo.lock. 2016-10-07 12:04:32 -07:00
stage0.txt Allow bootstrapping without a key. Fixes #36548 2016-10-19 01:23:01 +00:00