1. 13 10月, 2015 2 次提交
  2. 11 10月, 2015 1 次提交
  3. 10 10月, 2015 1 次提交
    • B
      Prevent `/**/` from being parsed as a doc comment · c7fa52df
      Barosl Lee 提交于
      Previously, `/**/` was incorrectly regarded as a doc comment because it
      starts with `/**` and ends with `*/`. However, this caused an ICE
      because some code assumed that the length of a doc comment is at least
      5. This commit adds an additional check to `is_block_doc_comment` that
      tests the length of the input.
      
      Fixes #28844.
      c7fa52df
  4. 09 10月, 2015 4 次提交
  5. 08 10月, 2015 3 次提交
  6. 07 10月, 2015 3 次提交
  7. 06 10月, 2015 3 次提交
    • F
      review comment: use RFC example for compile-fail/issue28498-reject-ex1.rs · 7a4743fa
      Felix S. Klock II 提交于
      (It is not *exactly* the text from the RFC, but the only thing it adds
      is a call to a no-op function that is just an attempt to make it clear
      where the potential for impl specialization comes from.)
      7a4743fa
    • F
      shorten URLs to placate `make tidy`. · 5708f44b
      Felix S. Klock II 提交于
      5708f44b
    • F
      compile-fail tests. · 83077bee
      Felix S. Klock II 提交于
      One just checks that we are feature-gating the UGEH attribute (as
      usual for attributes associated with unstable features).
      
      The other is adapted from the RFC 1238 text, except that it has been
      extended somewhat to actually *illustrate* the scenario that we are
      trying to prevent, namely observing the state of data, from safe code,
      after the destructor for that data has been executed.
      83077bee
  8. 05 10月, 2015 1 次提交
    • J
      Fix LLVM assertion on out-of-bounds const slice index. · fd077800
      Jed Davis 提交于
      This turned up as part of #3170.  When constructing an `undef` value to
      return in the error case, we were trying to get the element type of the
      Rust-level value being indexed instead of the underlying array; when
      indexing a slice, that's not an array and the LLVM assertion failure
      reflects this.
      
      The regression test is a lightly altered copy of `const-array-oob.rs`.
      fd077800
  9. 03 10月, 2015 3 次提交
    • A
      use the correct subtyping order in a test · 2f23e171
      Ariel Ben-Yehuda 提交于
      also, ensure that callers are checked.
      2f23e171
    • A
      fix fallout · ce702072
      Ariel Ben-Yehuda 提交于
      looks like some mix of #18653 and `projection_must_outlive`, but
      that needs to be investigated further (crater run?)
      ce702072
    • A
      ensure that the types of methods are well-formed · 603a75c8
      Ariel Ben-Yehuda 提交于
      By RFC1214:
      Before calling a fn, we check that its argument and return types are WF. This check takes place after all higher-ranked lifetimes have been instantiated. Checking the argument types ensures that the implied bounds due to argument types are correct. Checking the return type ensures that the resulting type of the call is WF.
      
      The previous code only checked the trait-ref, which was not enough
      in several cases.
      
      As this is a soundness fix, it is a [breaking-change].
      
      Fixes #28609
      603a75c8
  10. 02 10月, 2015 2 次提交
  11. 01 10月, 2015 4 次提交
  12. 27 9月, 2015 3 次提交
  13. 24 9月, 2015 3 次提交
  14. 23 9月, 2015 1 次提交
  15. 22 9月, 2015 1 次提交
  16. 20 9月, 2015 3 次提交
  17. 19 9月, 2015 2 次提交