- 05 4月, 2013 3 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
per method and list of def-ids per trait.
-
由 Niko Matsakis 提交于
Move the replacement of bound regions out from `check_arguments` and into check_call / method_resolution
-
- 03 4月, 2013 2 次提交
-
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
-
- 30 3月, 2013 2 次提交
-
-
由 Niko Matsakis 提交于
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
-
由 Patrick Walton 提交于
-
- 29 3月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
-
由 Patrick Walton 提交于
-
- 28 3月, 2013 3 次提交
-
-
由 Andrew Paseltiner 提交于
-
由 Niko Matsakis 提交于
the types. Initially I thought it would be necessary to thread this data through not only the AST but the types themselves, but then I remembered that the pretty printer only cares about the AST. Regardless, I have elected to leave the changes to the types intact since they will eventually be needed. I left a few FIXMEs where it didn't seem worth finishing up since the code wasn't crucial yet.
-
由 Niko Matsakis 提交于
the types. Initially I thought it would be necessary to thread this data through not only the AST but the types themselves, but then I remembered that the pretty printer only cares about the AST. Regardless, I have elected to leave the changes to the types intact since they will eventually be needed. I left a few FIXMEs where it didn't seem worth finishing up since the code wasn't crucial yet.
-
- 27 3月, 2013 5 次提交
-
-
由 Erick Tryzelaar 提交于
-
由 Daniel Micay 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Various FIXME comments added around to denote copies which when removed cause the compiler to segfault at some point before stage2. None of these copies should even be necessary.
-
由 Alex Crichton 提交于
-
- 26 3月, 2013 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 23 3月, 2013 3 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 22 3月, 2013 2 次提交
-
-
由 Andrew Paseltiner 提交于
-
由 Patrick Walton 提交于
-
- 21 3月, 2013 1 次提交
-
-
由 Tim Chevalier 提交于
The typechecker previously passed around a boolean return flag to indicate whether it saw something with type _|_ (that is, something it knows at compile-time will definitely diverge) and also had some manual checks for the `ty_err` pseudo-type that represents a previous type error. This was because the typing rules implemented by the typechecker didn't properly propagate _|_ and ty_err. I fixed it. This also required changing expected error messages in a few tests, as now we're printing out fewer derived errors -- in fact, at this point we should print out no derived errors, so report any that you see (ones that include "[type error]") as bugs.
-
- 20 3月, 2013 3 次提交
-
-
由 Niko Matsakis 提交于
and the fn_ctxt doesn't need any self_info field at all. Step towards fixing `fn(&self)` (cc #4846) to have a distinct lifetime.
-
由 Alex Crichton 提交于
-
由 Patrick Walton 提交于
This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve.
-
- 19 3月, 2013 4 次提交
-
-
由 Patrick Walton 提交于
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
-
由 Patrick Walton 提交于
-
- 16 3月, 2013 1 次提交
-
-
由 Luqman Aden 提交于
-
- 14 3月, 2013 3 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Niko Matsakis 提交于
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
-
- 12 3月, 2013 3 次提交
-
-
由 Luqman Aden 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 08 3月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
-
由 Patrick Walton 提交于
-