diff options
| author | Patrick Walton <[email protected]> | 2010-11-03 17:10:37 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-11-05 10:23:22 -0700 |
| commit | 1d214b4df3013a53e50d778fa921ed99bc498d02 (patch) | |
| tree | c87006304b72bd7fec9962afac5370de4e2d57bd /src/comp/driver | |
| parent | Fix buggy while and do-while translation in rustc. Add test. (diff) | |
| download | rust-1d214b4df3013a53e50d778fa921ed99bc498d02.tar.xz rust-1d214b4df3013a53e50d778fa921ed99bc498d02.zip | |
Move the option type to its own module
Diffstat (limited to 'src/comp/driver')
| -rw-r--r-- | src/comp/driver/rustc.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 920b47d2..154b87cb 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -5,9 +5,9 @@ import front.token; import middle.trans; import middle.resolve; -import std.util.option; -import std.util.some; -import std.util.none; +import std.option; +import std.option.some; +import std.option.none; import std._str; import std._vec; @@ -39,8 +39,8 @@ fn usage(session.session sess, str argv0) { impure fn main(vec[str] args) { auto sess = session.session(); - let option[str] input_file = none[str]; - let option[str] output_file = none[str]; + let option.t[str] input_file = none[str]; + let option.t[str] output_file = none[str]; let bool do_warn = true; auto i = 1u; |