1. 14 6月, 2022 2 次提交
  2. 06 5月, 2022 1 次提交
  3. 04 5月, 2022 1 次提交
  4. 15 4月, 2022 1 次提交
  5. 11 4月, 2022 1 次提交
  6. 28 2月, 2022 1 次提交
  7. 22 2月, 2022 1 次提交
  8. 25 9月, 2021 1 次提交
  9. 17 5月, 2021 1 次提交
  10. 09 11月, 2020 1 次提交
  11. 27 10月, 2020 1 次提交
  12. 21 10月, 2020 1 次提交
  13. 07 10月, 2020 1 次提交
  14. 04 10月, 2020 1 次提交
  15. 18 9月, 2020 1 次提交
  16. 03 9月, 2020 1 次提交
    • D
      pretty: trim paths of unique symbols · 07e7823c
      Dan Aloni 提交于
      If a symbol name can only be imported from one place for a type, and
      as long as it was not glob-imported anywhere in the current crate, we
      can trim its printed path and print only the name.
      
      This has wide implications on error messages with types, for example,
      shortening `std::vec::Vec` to just `Vec`, as long as there is no other
      `Vec` importable anywhere.
      
      This adds a new '-Z trim-diagnostic-paths=false' option to control this
      feature.
      
      On the good path, with no diagnosis printed, we should try to avoid
      issuing this query, so we need to prevent trimmed_def_paths query on
      several cases.
      
      This change also relies on a previous commit that differentiates
      between `Debug` and `Display` on various rustc types, where the latter
      is trimmed and presented to the user and the former is not.
      07e7823c
  17. 21 8月, 2020 1 次提交
  18. 20 8月, 2020 2 次提交
  19. 18 8月, 2020 1 次提交
  20. 29 7月, 2020 1 次提交
  21. 28 7月, 2020 1 次提交
  22. 26 6月, 2020 1 次提交
  23. 04 6月, 2020 1 次提交
  24. 24 5月, 2020 1 次提交
  25. 09 5月, 2020 1 次提交
  26. 07 5月, 2020 1 次提交
  27. 27 4月, 2020 1 次提交
  28. 17 4月, 2020 1 次提交
  29. 14 4月, 2020 1 次提交
  30. 11 4月, 2020 1 次提交
  31. 08 4月, 2020 1 次提交