about summary refs log tree commit diff
path: root/src/test/run-pass/use.rs
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-21Allow various lints as part of ui-ifying `src/test/run-pass` suite.Felix S. Klock II-0/+1
2015-08-08rustc: rename multiple imports in a listSean McArthur-0/+3
2015-08-03syntax: Implement #![no_core]Alex Crichton-2/+2
This commit is an implementation of [RFC 1184][rfc] which tweaks the behavior of the `#![no_std]` attribute and adds a new `#![no_core]` attribute. The `#![no_std]` attribute now injects `extern crate core` at the top of the crate as well as the libcore prelude into all modules (in the same manner as the standard library's prelude). The `#![no_core]` attribute disables both std and core injection. [rfc]: https://github.com/rust-lang/rfcs/pull/1184
2015-03-27rollup merge of #23786: alexcrichton/less-quotesAlex Crichton-1/+1
Conflicts: src/test/auxiliary/static-function-pointer-aux.rs src/test/auxiliary/trait_default_method_xc_aux.rs src/test/run-pass/issue-4545.rs
2015-03-27Unquote all crate names without underscoresRicho Healey-1/+1
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-1/+1
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2015-02-07Feature-gate #![no_std]Keegan McAllister-1/+1
Fixes #21833. [breaking-change]
2015-01-16syntax: Feature gate #[start] and #[main]Alex Crichton-3/+2
These two attributes are used to change the entry point into a Rust program, but for now they're being put behind feature gates until we have a chance to think about them a little more. The #[start] attribute specifically may have its signature changed. This is a breaking change to due the usage of these attributes generating errors by default now. If your crate is using these attributes, add this to your crate root: #![feature(start)] // if you're using the #[start] attribute #![feature(main)] // if you're using the #[main] attribute cc #20064
2014-08-23extern crate foobar as foo;wickerwaka-1/+1
Implements remaining part of RFC #47. Addresses issue #16461. Removed link_attrs from rust.md, they don't appear to be supported by the parser. Changed all the tests to use the new extern crate syntax Change pretty printer to use 'as' syntax
2014-08-14libsyntax: Accept `use foo as bar;` in lieu of `use bar as foo;`Patrick Walton-2/+2
The old syntax will be removed after a snapshot. RFC #47. Issue #16461.
2014-07-05test: Fix tests for crate_id removalAlex Crichton-2/+0
This involved removing some tests whose functionality was removed such as many of the crateresolve tests
2014-07-02Merge remote-tracking branch 'origin/master' into 0.11.0-releaseAlex Crichton-1/+1
Conflicts: src/libstd/lib.rs
2014-06-28Rename all raw pointers as necessaryAlex Crichton-1/+1
2014-06-27Update to 0.11.0 0.11.0Alex Crichton-1/+1
2014-05-12Add the patch number to version strings. Closes #13289Brian Anderson-1/+1
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-2/+2
2014-04-06Remove check-fast. Closes #4193, #8844, #6330, #7416Brian Anderson-2/+0
2014-04-03Bump version to 0.11-preBrian Anderson-1/+1
This also changes some of the download links in the documentation to 'nightly'.
2014-03-31Bump version to 0.10Alex Crichton-1/+1
2014-02-14extern mod => extern crateAlex Crichton-3/+3
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-3/+3
2014-01-20Register new snapshotsAlex Crichton-1/+1
Upgrade the version to 0.10-pre
2014-01-02Bump version to 0.9Brian Anderson-1/+1
2013-12-25Test fixes and rebase conflictsAlex Crichton-1/+1
* vec::raw::to_ptr is gone * Pausible => Pausable * Removing @ * Calling the main task "<main>" * Removing unused imports * Removing unused mut * Bringing some libextra tests up to date * Allowing compiletest to work at stage0 * Fixing the bootstrap-from-c rmake tests * assert => rtassert in a few cases * printing to stderr instead of stdout in fail!()
2013-12-24Test fixes and rebase problemsAlex Crichton-1/+4
Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task".
2013-12-10Make crate hash stable and externally computable.Jack Moffitt-2/+2
This replaces the link meta attributes with a pkgid attribute and uses a hash of this as the crate hash. This makes the crate hash computable by things other than the Rust compiler. It also switches the hash function ot SHA1 since that is much more likely to be available in shell, Python, etc than SipHash. Fixes #10188, #8523.
2013-09-26Update version numbers to 0.9-preBrian Anderson-1/+1
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-08-17Fix warnings it testsErick Tryzelaar-0/+2
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-05-22test: Update tests to use the new syntax.Patrick Walton-5/+5
2013-05-22librustc: Rename core injection to std injectionPatrick Walton-1/+1
2013-04-10Bump version to 0.7-preBrian Anderson-1/+1
2013-04-09Bump version to 0.7-preBrian Anderson-1/+1
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-30test: Remove export from the tests, language, and libraries. rs=deexportingPatrick Walton-3/+2
2013-01-08test: Fix botched regex. rs=bustagePatrick Walton-1/+1
2013-01-07test: Regular expression mistake. rs=bustagePatrick Walton-1/+1
2013-01-07test: Fix check-fast for resolve changes. rs=bustagePatrick Walton-2/+2
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-1/+1
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-1/+3
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-10-12bump version to 0.5.Graydon Hoare-1/+1
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-3/+3
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-2/+2