[mozilla/rust] : Make driver::session::session no longer an object

rust-commits at mozilla.org rust-commits at mozilla.org
Thu Jan 12 09:04:20 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/mozilla/rust
  Commit: efb9df1ebd7ebe0232e202d0e065b08d6a593785
      https://github.com/mozilla/rust/commit/efb9df1ebd7ebe0232e202d0e065b08d6a593785
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-12 (Thu, 12 Jan 2012)

  Changed paths:
    M src/comp/back/link.rs
  M src/comp/back/rpath.rs
  M src/comp/driver/driver.rs
  M src/comp/driver/session.rs
  M src/comp/front/attr.rs
  M src/comp/front/test.rs
  M src/comp/metadata/creader.rs
  M src/comp/metadata/csearch.rs
  M src/comp/metadata/encoder.rs
  M src/comp/middle/alias.rs
  M src/comp/middle/block_use.rs
  M src/comp/middle/capture.rs
  M src/comp/middle/check_alt.rs
  M src/comp/middle/check_const.rs
  M src/comp/middle/debuginfo.rs
  M src/comp/middle/fn_usage.rs
  M src/comp/middle/gc.rs
  M src/comp/middle/kind.rs
  M src/comp/middle/mut.rs
  M src/comp/middle/resolve.rs
  M src/comp/middle/shape.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/trans_build.rs
  M src/comp/middle/trans_closure.rs
  M src/comp/middle/trans_common.rs
  M src/comp/middle/trans_impl.rs
  M src/comp/middle/trans_objects.rs
  M src/comp/middle/tstate/auxiliary.rs
  M src/comp/middle/tstate/bitvectors.rs
  M src/comp/middle/tstate/ck.rs
  M src/comp/middle/tstate/collect_locals.rs
  M src/comp/middle/tstate/pre_post_conditions.rs
  M src/comp/middle/tstate/states.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs
  M src/comp/syntax/ext/base.rs
  M src/comp/syntax/ext/expand.rs

  Log Message:
  -----------
  Make driver::session::session no longer an object

Rather, it is now a struct where properties like opts are accessed
directly, and the error-reporting methods are part of a static impl
(with the same name as the type).





More information about the Rust-commits mailing list