Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 7, 2015
  1. @bors

    Auto merge of #21978 - Potpourri:error-extern-crate-staticlib, r=alex…

    bors authored
    …crichton
    
    Add special error for this case and help message `please recompile this crate using --crate-type lib`, also list found candidates.
    
    See issue #14416
    
    r? @alexcrichton
  2. @bors

    Auto merge of #21949 - japaric:index, r=nikomatsakis

    bors authored
    closes #21630
    
    Overloaded indexing (`&[mut] foo[bar]`) only works when `<Self as Index>::Output` is the same as `<Self as IndexMut>::Output` (see issue above). To restrict implementations of `IndexMut` that doesn't work, this PR makes `IndexMut` a supertrait over `Index`, i.e. `trait IndexMut<I>: Index<I>`, just like in the `trait DerefMut: Deref` case.
    
    This breaks all downstream implementations of `IndexMut`, in most cases this simply means removing the `type Output = ..` bit, which is now redundant, from `IndexMut` implementations:
    
    ``` diff
     impl Index<Foo> for Bar {
         type Output = Baz;
         ..
     }
    
     impl IndexMut<Foo> for Bar {
    -    type Output = Baz;
         ..
     }
    ```
    
    [breaking-change]
    
    ---
    
    r? @nikomatsakis
  3. @japaric
  4. @bors

    Auto merge of #21505 - GuillaumeGomez:interned_string, r=alexcrichton

    bors authored
    It's in order to make the code more homogeneous.
Commits on Feb 6, 2015
  1. @bors
  2. @GuillaumeGomez

    librustdoc has been updated

    GuillaumeGomez authored
    Fixes run build error
    
    Fix test failure
    
    Fix tests' errors
  3. @bors

    Auto merge of #21926 - mzabaluev:raw-lifetime, r=alexcrichton

    bors authored
    New functions, `slice::from_raw_parts` and `slice::from_raw_parts_mut`,
    are added to implement the lifetime convention as agreed in rust-lang/rfcs#556.
    The functions `slice::from_raw_buf` and `slice::from_raw_mut_buf` are
    left deprecated for the time being.
    
    Holding back on changing the signature of `std::ffi::c_str_to_bytes` as consensus in rust-lang/rfcs#592 is building to replace it with a composition of other functions.
    
    Contribution to #21923.
  4. @Manishearth

    Rollup merge of #22009 - japaric:no-mov, r=alexcrichton

    Manishearth authored
     If you were still using `MaybeOwnedVector`, update your code to use `CowVec`.
    
    [breaking-change]
    
    ---
    
    We already removed `MaybeOwned` (the string equivalent) long time ago and with a much shorter deprecation period. It's time to let go.
  5. @Manishearth

    Rollup merge of #22005 - nagisa:obsolete-ctx, r=alexcrichton

    Manishearth authored
     The word is repeated twice in the message like:
    
        error: obsolete syntax: `:`, `&mut:`, or `&:` syntax
    
    This removes the word syntax that appears in messages after the second colon (:).
  6. @Manishearth

    Rollup merge of #21994 - iKevinY:featureck-fix, r=brson

    Manishearth authored
     It seems that `lang_feature_stats` was supposed to refer to `language_feature_stats` instead.
    
    r? @brson
  7. @Gankro @Manishearth

    fix outdated docs

    Gankro authored Manishearth committed
    Conflicts:
    	src/libstd/collections/mod.rs
  8. @Gankro @Manishearth

    fix outdated docs

    Gankro authored Manishearth committed
    Conflicts:
    	src/libstd/collections/mod.rs
  9. @Manishearth

    More libcollections fixes

    Manishearth authored
  10. @bors

    Auto merge of #21860 - mdinger:enum_rewording, r=steveklabnik

    bors authored
    Second try to address rust-lang#21196 . A lot that was removed at the end basically seemed repetitive showing simple variations on the same type. It seems more effective to just show more variants at the beginning instead.
    
    If you want to pack values into an example, better to use `i32` or some digit than `String` because you don't need the `to_string()` method.
    
    I didn't mention `derive` because:
    * I can't explain it (only use it)
    * I don't have a link to a good description (maybe rustbyexample but you probably want links internal)
    * Giving more detail especially stating that `==` won't work and why should help quite a bit
    
    I didn't `make test` or check links but I will if this will be merged.
    
    @steveklabnik
  11. @japaric
  12. @nagisa

    Remove word syntax from obsolete syntax messages

    nagisa authored
    The word is repeated twice in the message like
    
        error: obsolete syntax: `:`, `&mut:`, or `&:` syntax
    
    This removes the word syntax that appears in messages after the second colon (:).
  13. @Manishearth
  14. @Manishearth

    rm unused feature

    Manishearth authored
  15. @Manishearth
  16. @Gankro @Manishearth

    remove int_uint feature from libcollections

    Gankro authored Manishearth committed
  17. @Manishearth
  18. @bors

    Auto merge of #21962 - vrinek:printable-book, r=steveklabnik

    bors authored
    Tested on:
    
    * Safari on OSX
    * Firefox on OSX
  19. @GuillaumeGomez
  20. @GuillaumeGomez

    Remove getenv warning

    GuillaumeGomez authored
  21. @GuillaumeGomez
  22. @GuillaumeGomez
  23. @GuillaumeGomez
  24. @GuillaumeGomez
  25. @GuillaumeGomez
  26. @GuillaumeGomez
  27. @GuillaumeGomez
  28. @GuillaumeGomez
  29. @GuillaumeGomez

    Update HEAD:master

    GuillaumeGomez authored
  30. @GuillaumeGomez
  31. @GuillaumeGomez
Something went wrong with that request. Please try again.