rust/src/lib
Tim Chevalier 7fb35ecf84 Serialize constraints in types (literal arguments still not supported)
This involved, in part, changing the ast::def type so that a def_fn
has a "purity" field. This lets the typechecker determine whether
functions defined in other crates are pure.

It also required updating some error messages in tests. As a test
for cross-crate constrained functions, I added a safe_slice function
to std::str (slice(), with one of the asserts replaced with a
function precondition) and some test cases (various versions of
fn-constraint.rs) that call it. Also, I changed "fn" to "pred" for
some of the boolean functions in std::uint.
2011-06-21 14:37:33 -07:00
..
bitv.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
box.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
dbg.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
deque.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
ebml.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
either.rs Reformat a bunch of recent churn. 2011-06-16 16:55:46 -07:00
extfmt.rs Remove various rustboot workarounds 2011-06-19 20:48:20 -07:00
fs.rs Made sure getcwd and friends work well on Windows. 2011-06-17 15:53:21 -07:00
generic_os.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
getopts.rs Remove various rustboot workarounds 2011-06-19 20:48:20 -07:00
int.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
io.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
ivec.rs rustc: Change smallintmap to use an ivec and use it for the node type table. 3x typechecking speedup. 2011-06-19 18:03:19 -07:00
linux_os.rs stdlib: added getcwd and a convenience function to make relative paths absolute. This will be helpful for #441. 2011-06-17 15:53:19 -07:00
list.rs Reformat a bunch of recent churn. 2011-06-16 16:55:46 -07:00
macos_os.rs stdlib: added getcwd and a convenience function to make relative paths absolute. This will be helpful for #441. 2011-06-17 15:53:19 -07:00
map.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
option.rs stdlib: Add option::is_some 2011-06-16 14:21:42 -07:00
posix_fs.rs Made sure getcwd and friends work well on Windows. 2011-06-17 15:53:21 -07:00
rand.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
run_program.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
sha1.rs Remove various rustboot workarounds 2011-06-19 20:48:20 -07:00
smallintmap.rs rustc: Change smallintmap to use an ivec and use it for the node type table. 3x typechecking speedup. 2011-06-19 18:03:19 -07:00
sort.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
std.rc Replace unexported meta tags with attributes 2011-06-18 20:23:05 -07:00
str.rs Serialize constraints in types (literal arguments still not supported) 2011-06-21 14:37:33 -07:00
sys.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
task.rs Re-enabled join. 2011-06-15 18:16:59 -07:00
term.rs Reformat a bunch of recent churn. 2011-06-16 16:55:46 -07:00
time.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
u8.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
ufind.rs Reformat source tree (minus a couple tests that are still grumpy). 2011-06-15 11:19:50 -07:00
uint.rs Serialize constraints in types (literal arguments still not supported) 2011-06-21 14:37:33 -07:00
util.rs Reformat a bunch of recent churn. 2011-06-16 16:55:46 -07:00
vec.rs Fix a bunch of compile-command lines to use RBUILD 2011-06-15 12:01:19 -07:00
win32_fs.rs Made sure getcwd and friends work well on Windows. 2011-06-17 15:53:21 -07:00
win32_os.rs stdlib: added getcwd and a convenience function to make relative paths absolute. This will be helpful for #441. 2011-06-17 15:53:19 -07:00