1. 29 12月, 2016 1 次提交
  2. 28 12月, 2016 3 次提交
  3. 26 12月, 2016 2 次提交
  4. 22 12月, 2016 2 次提交
  5. 20 12月, 2016 6 次提交
  6. 15 12月, 2016 5 次提交
  7. 09 12月, 2016 3 次提交
    • G
      Change error to E0572 · ed3c483a
      Guillaume Gomez 提交于
      ed3c483a
    • G
      Add E0571 test · 8dee5ab8
      Guillaume Gomez 提交于
      8dee5ab8
    • E
      Point out the known type when field doesn't satisfy bound · ef09db0f
      Esteban Küber 提交于
      For file
      
      ```rust
      use std::path::Path;
      
      fn f(p: Path) { }
      ```
      
      provide the following error
      
      ```nocode
      error[E0277]: the trait bound `[u8]: std::marker::Sized` is not satisfied in `std::path::Path`
       --> file.rs:3:6
        |
      3 | fn f(p: Path) { }
        |      ^ within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]`
        |
        = note: `[u8]` does not have a constant size known at compile-time
        = note: required because it appears within the type `std::path::Path`
        = note: all local variables must have a statically known size
      ```
      ef09db0f
  8. 06 12月, 2016 1 次提交
    • E
      Warn when an import list is empty · 58e70e7b
      Esteban Küber 提交于
      For a given file
      
      ```rust
      use std::*;
      use std::{};
      ```
      
      output the following warnings
      
      ```
      warning: unused import: `use std::{};`, #[warn(unused_imports)] on by default
       --> file.rs:2:1
        |
      2 | use std::{};
        | ^^^^^^^^^^^^
      
      warning: unused import: `std::*;`, #[warn(unused_imports)] on by default
       --> file.rs:1:5
        |
      1 | use std::*;
        |     ^^^^^^^
      ```
      58e70e7b
  9. 04 12月, 2016 2 次提交
  10. 02 12月, 2016 4 次提交
  11. 01 12月, 2016 1 次提交
  12. 30 11月, 2016 1 次提交
    • A
      Add new #[target_feature = "..."] attribute. · 80ef1dbf
      Andrew Gallant 提交于
      This commit adds a new attribute that instructs the compiler to emit
      target specific code for a single function. For example, the following
      function is permitted to use instructions that are part of SSE 4.2:
      
          #[target_feature = "+sse4.2"]
          fn foo() { ... }
      
      In particular, use of this attribute does not require setting the
      -C target-feature or -C target-cpu options on rustc.
      
      This attribute does not have any protections built into it. For example,
      nothing stops one from calling the above `foo` function on hosts without
      SSE 4.2 support. Doing so may result in a SIGILL.
      
      This commit also expands the target feature whitelist to include lzcnt,
      popcnt and sse4a. Namely, lzcnt and popcnt have their own CPUID bits,
      but were introduced with SSE4.
      80ef1dbf
  13. 29 11月, 2016 4 次提交
  14. 28 11月, 2016 5 次提交