1. 26 8月, 2011 3 次提交
    • T
      Support unchecked blocks · f841e894
      Tim Chevalier 提交于
      This patch supports the syntax
      
          unchecked {
            ...
          }
      
          to disable purity checking within a block. Presumably it will only be
          used within a declared "pure fn". However, there is no checking that it
          doesn't occur elsewhere, and it would be harmless for it to do so.
      
          I went with Lindsey's suggestion for the syntax, but it's subject to
          change.
      
          This allows you to write code that uses predicates that call arbitrary
          Rust functions, but you must declare your intentions by wrapping it in
          an unchecked { ... } block. The test case run-pass/unchecked-predicates.rs
          demonstrates how to do that.
      f841e894
    • T
      Allow pure fns to have any return type · e241f299
      Tim Chevalier 提交于
      e241f299
    • B
      Move ast::pat_id_map to ast::util · 608f7ccd
      Brian Anderson 提交于
      608f7ccd
  2. 23 8月, 2011 1 次提交
  3. 22 8月, 2011 3 次提交
  4. 21 8月, 2011 1 次提交
    • B
      Reformat · 518dc52f
      Brian Anderson 提交于
      This changes the indexing syntax from .() to [], the vector syntax from ~[] to
      [] and the extension syntax from #fmt() to #fmt[]
      518dc52f
  5. 19 8月, 2011 4 次提交
  6. 18 8月, 2011 1 次提交
  7. 17 8月, 2011 8 次提交
  8. 16 8月, 2011 8 次提交
  9. 15 8月, 2011 3 次提交
  10. 13 8月, 2011 3 次提交
  11. 12 8月, 2011 5 次提交