rust/src
Tim Chevalier 734166f41c Print out return type correctly in typestate error message
In the "not all paths return" error message, typestate was printing
the AST type from the fn decl, not the ty::t type. This ended in tears
when the AST return type was "ty_infer". Now it looks up the function node
ID's type and uses util::ppaux::ty_to_str instead.

Closes #2163.
2012-04-20 18:48:08 -07:00
..
cargo syntax: Put the main parser interface in mod parse 2012-04-18 10:50:50 -07:00
compiletest add option exec-env to set env variables during test execution 2012-04-13 12:41:37 -07:00
etc along long lines if they contain error msgs 2012-04-17 12:02:36 -07:00
fuzzer syntax: Put the main parser interface in mod parse 2012-04-18 10:50:50 -07:00
libcore Add vec::unpack_slice, expose str::unpack_slice. 2012-04-20 17:37:17 -07:00
librustsyntax Add new syntax for patterns that match the head constructor only 2012-04-20 00:56:46 -07:00
libstd std: ignore tests that use high_level_loop 2012-04-20 16:46:50 -07:00
libuv@1170ffba3a rustc: Don't generate landing pad cleanups for boxy things 2012-03-29 16:43:18 -07:00
llvm@8b035b5fe8 llvm: Update llvm to use new gcnoteroot infrastructure 2012-04-09 18:06:22 -07:00
rt whitespace cleanup 2012-04-20 15:23:23 -07:00
rustc Print out return type correctly in typestate error message 2012-04-20 18:48:08 -07:00
rustdoc syntax: Extract attribute parsing to its own mod 2012-04-19 21:58:45 -07:00
rustllvm llvm: Update llvm to use new gcnoteroot infrastructure 2012-04-09 18:06:22 -07:00
test Print out return type correctly in typestate error message 2012-04-20 18:48:08 -07:00
README.txt Update src/README.txt. Closes #2147 2012-04-09 14:03:48 -07:00
snapshots.txt Register snapshots 2012-04-14 21:36:57 -07:00

This is preliminary version of the Rust compiler, libraries and tools

Source layout:

rustc/             The self-hosted compiler

libcore/           The core library (imported and linked by default)
libstd/            The standard library (slightly more peripheral code)
librustsyntax/     The Rust parser and pretty-printer

rt/                The runtime system
rt/rust_*.cpp      - The majority of the runtime services
rt/isaac           - The PRNG used for pseudo-random choices in the runtime
rt/bigint          - The bigint library used for the 'big' type
rt/uthash          - Small hashtable-and-list library for C, used in runtime
rt/sync            - Concurrency utils
rt/util            - Small utility classes for the runtime.
rt/vg              - Valgrind headers
rt/msvc            - MSVC support

test/              Testsuite
test/compile-fail  - Tests that should fail to compile
test/run-fail      - Tests that should compile, run and fail
test/run-pass      - Tests that should compile, run and succeed
test/bench         - Benchmarks and miscellanea
test/pretty        - Pretty-printer tests
test/auxiliary     - Dependencies of tests

compiletest/       The test runner

cargo/             The package manager

rustdoc/           The Rust API documentation tool

llvm/              The LLVM submodule

libuv/             The libuv submodule

rustllvm/          LLVM support code

fuzzer/            A collection of fuzz testers

etc/               Scripts, editor support, misc