1. 21 11月, 2017 1 次提交
  2. 20 11月, 2017 3 次提交
  3. 16 11月, 2017 1 次提交
  4. 06 11月, 2017 1 次提交
  5. 03 11月, 2017 2 次提交
  6. 02 11月, 2017 2 次提交
  7. 25 10月, 2017 1 次提交
  8. 24 10月, 2017 1 次提交
  9. 20 10月, 2017 1 次提交
  10. 30 9月, 2017 1 次提交
  11. 07 9月, 2017 1 次提交
    • E
      Fix mispositioned error indicators · d5828109
      est31 提交于
      Fixes #38384
      
      Most of the Rust community uses 4 spaces for indentation,
      but there are also tab users of Rust (including myself!).
      
      This patch fixes a bug in error printing which mispositions
      error indicators when near code with tabs.
      
      The code attempted to fix the issue by replacing spaces
      with tabs, but it sadly wasn't enough, as sometimes
      you may not print spaces but _ or ^ instead.
      
      This patch employs the reverse strategy: it replaces each
      tab with a space, so that the number of _ and ^ and spaces
      in error indicators below the code snippet line up
      perfectly.
      
      In a study [1] preceeding this patch, we could see that
      this strategy is also chosen by gcc version 6.3.0.
      
      Its not perfect, as the output is not beautiful, but its
      the easiest to implement. If anyone wants to improve on
      this, be my guest! This patch is meant as improvement of
      the status quo, not as perfect end status. It fixes the
      actual issue of mispositioning error indicators.
      
      [1]: https://github.com/rust-lang/rust/issues/38384#issuecomment-326813710
      d5828109
  12. 30 8月, 2017 1 次提交
  13. 28 8月, 2017 1 次提交
    • S
      Initial diagnostic API for proc-macros. · 8be132e9
      Sergio Benitez 提交于
      This commit introduces the ability to create and emit `Diagnostic`
      structures from proc-macros, allowing for proc-macro authors to emit
      warning, error, note, and help messages just like the compiler does.
      8be132e9
  14. 27 8月, 2017 1 次提交
  15. 26 8月, 2017 3 次提交
  16. 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
  17. 23 8月, 2017 1 次提交
  18. 19 8月, 2017 1 次提交
  19. 18 8月, 2017 1 次提交
  20. 16 8月, 2017 2 次提交
  21. 31 7月, 2017 1 次提交
  22. 18 7月, 2017 2 次提交
  23. 17 7月, 2017 1 次提交
  24. 07 7月, 2017 4 次提交
  25. 02 7月, 2017 1 次提交
  26. 25 6月, 2017 1 次提交
  27. 20 6月, 2017 1 次提交
  28. 16 6月, 2017 1 次提交
  29. 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