1. 21 11月, 2017 1 次提交
  2. 20 11月, 2017 1 次提交
  3. 16 11月, 2017 1 次提交
  4. 03 11月, 2017 1 次提交
  5. 02 11月, 2017 1 次提交
  6. 25 10月, 2017 1 次提交
  7. 20 10月, 2017 1 次提交
  8. 30 8月, 2017 1 次提交
  9. 27 8月, 2017 1 次提交
  10. 26 8月, 2017 2 次提交
  11. 25 8月, 2017 1 次提交
    • A
      rustc: Capture diagnostics from all queries · 8e95b3a9
      Alex Crichton 提交于
      This commit alters the `rustc::ty::maps` implementation to ensure that all
      output diagnostics from the compiler are tracked for the duration of each query.
      These are then intended to be replayed back the first time a cached value is
      loaded, and otherwise the cache should operate the same as it does today.
      
      Closes #42513
      8e95b3a9
  12. 23 8月, 2017 1 次提交
  13. 19 8月, 2017 1 次提交
  14. 18 8月, 2017 1 次提交
  15. 16 8月, 2017 1 次提交
  16. 31 7月, 2017 1 次提交
  17. 18 7月, 2017 1 次提交
  18. 07 7月, 2017 2 次提交
  19. 02 7月, 2017 1 次提交
  20. 20 6月, 2017 1 次提交
  21. 12 6月, 2017 1 次提交
    • I
      External spans: address review. · 271133b0
      Inokentiy Babushkin 提交于
      * The lazy loading mechanism has been moved to a more appropriate place.
      * Return values from the functions invoked there are properly used.
      * Documentation has gotten some minor improvements.
      * Possibly some larger restructuring will need to take place still.
      271133b0
  22. 11 6月, 2017 3 次提交
  23. 01 6月, 2017 1 次提交
  24. 31 5月, 2017 1 次提交
  25. 24 5月, 2017 1 次提交
  26. 19 5月, 2017 1 次提交
  27. 12 5月, 2017 1 次提交
  28. 11 5月, 2017 1 次提交
  29. 10 5月, 2017 2 次提交
  30. 06 5月, 2017 2 次提交
  31. 27 4月, 2017 1 次提交
  32. 25 4月, 2017 1 次提交
  33. 12 4月, 2017 1 次提交
    • E
      Highlight and simplify mismatched types · 2389830d
      Esteban Küber 提交于
      Shorten mismatched types errors by replacing subtypes that are not
      different with `_`, and highlighting only the subtypes that are
      different.
      
      Given a file
      
      ```rust
      struct X<T1, T2> {
          x: T1,
          y: T2,
      }
      
      fn foo() -> X<X<String, String>, String> {
          X { x: X {x: "".to_string(), y: 2}, y: "".to_string()}
      }
      
      fn bar() -> Option<String> {
          "".to_string()
      }
      ```
      
      provide the following output
      
      ```rust
      error[E0308]: mismatched types
        --> file.rs:6:5
         |
       6 |     X { x: X {x: "".to_string(), y: 2}, y: "".to_string()}
         |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found {integer}
         |
         = note: expected type `X<X<_, std::string::String>, _>`
                                       ^^^^^^^^^^^^^^^^^^^   // < highlighted
                    found type `X<X<_, {integer}>, _>`
                                       ^^^^^^^^^             // < highlighted
      
      error[E0308]: mismatched types
        --> file.rs:6:5
         |
      10 |     "".to_string()
         |     ^^^^^^^^^^^^^^ expected struct `std::option::Option`, found `std::string::String`
         |
         = note: expected type `Option<std::string::String>`
                                ^^^^^^^                   ^  // < highlighted
                    found type `std::string::String`
      ```
      2389830d
  34. 29 3月, 2017 1 次提交