1. 16 1月, 2018 1 次提交
  2. 15 1月, 2018 5 次提交
  3. 13 1月, 2018 1 次提交
  4. 04 1月, 2018 2 次提交
  5. 03 1月, 2018 1 次提交
  6. 21 12月, 2017 2 次提交
  7. 18 12月, 2017 1 次提交
  8. 15 12月, 2017 2 次提交
  9. 14 12月, 2017 1 次提交
  10. 13 12月, 2017 2 次提交
  11. 10 12月, 2017 1 次提交
  12. 06 12月, 2017 2 次提交
  13. 01 12月, 2017 4 次提交
  14. 30 11月, 2017 1 次提交
  15. 29 11月, 2017 2 次提交
  16. 24 11月, 2017 3 次提交
    • E
      Do not attemt to continue parsing after `pub ident` · c82e9e8e
      Esteban Küber 提交于
      Try to identify the following code in order to provide better
      diagnostics, but return the error to bail out early during the parse.
      c82e9e8e
    • E
      Do not rewind parser and ignore following blocks · 7c0387e3
      Esteban Küber 提交于
      When encountering `pub ident`, attempt to identify the code that comes
      afterwards, wether it is a brace block (assume it is a struct), a paren
      list followed by a colon (assume struct) or a paren list followed by a
      block (assume a fn). Consume those blocks to avoid any further parser
      errors and return a `Placeholder` item in order to allow the parser to
      continue. In the case of unenclosed blocks, the behavior is the same as
      it is currently: no further errors are processed.
      7c0387e3
    • M
      Use for_each_child_stable in find_module · a3686c68
      Maxim Zholobak 提交于
      a3686c68
  17. 23 11月, 2017 1 次提交
  18. 21 11月, 2017 2 次提交
  19. 20 11月, 2017 2 次提交
  20. 13 11月, 2017 1 次提交
  21. 09 11月, 2017 1 次提交
  22. 05 11月, 2017 1 次提交
  23. 04 11月, 2017 1 次提交
    • E
      Detect `=` -> `:` typo in let bindings · 9dc7abe0
      Esteban Küber 提交于
      When encountering a let binding type error, attempt to parse as
      initializer instead. If successful, it is likely just a typo:
      
      ```rust
      fn main() {
          let x: Vec::with_capacity(10);
      }
      ```
      
      ```
      error: expected type, found `10`
       --> file.rs:3:31
        |
      3 |     let x: Vec::with_capacity(10, 20);
        |         --                    ^^
        |         ||
        |         |help: did you mean assign here?: `=`
        |         while parsing the type for `x`
      ```
      9dc7abe0