summary refs log tree commit diff
path: root/src/test/debuginfo
AgeCommit message (Collapse)AuthorLines
2015-02-18rollup merge of #22286: nikomatsakis/variance-4bAlex Crichton-7/+10
Conflicts: src/librustc/middle/infer/combine.rs src/librustc_typeck/check/wf.rs
2015-02-18Fallout: tests. As tests frequently elide things, lots of changesNiko Matsakis-7/+10
here. Some of this may have been poorly rebased, though I tried to be careful and preserve the spirit of the test.
2015-02-18Fix remaining bench/debuginfo tests (and a few stragglers)Niko Matsakis-22/+22
2015-02-17Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichtonbors-90/+1
- Now "make check-stage2-T-aarch64-linux-android-H-x86_64-unknown-linux-gnu" works (#21773) - Fix & enable debuginfo tests for android (#10381) - Fix & enable more tests for android (both for arm/aarch64) - Enable many already-pass tests on android (both for arm/aarch64)
2015-02-17Rollup merge of #22360 - wg:master, r=alexcrichtonManish Goregaokar-0/+2
2015-02-16tests: debuginfo: use `static mut` to avoid constant folding globals.Eduard Burtescu-31/+32
2015-02-15Fix tests that fail on FreeBSDWill-0/+2
2015-02-11opt into box_patterns in debuginfo tests.Felix S. Klock II-0/+3
2015-02-10Enable test/debuginfo on androidEunji Jeong-90/+1
2015-02-06debuginfo: Fix problem with debug locations of constants in match patterns.Michael Woerister-0/+92
2015-02-05cleanup: replace `as[_mut]_slice()` calls with deref coercionsJorge Aparicio-2/+2
2015-02-04remove all kind annotations from closuresJorge Aparicio-13/+13
2015-02-03Rename std::path to std::old_pathAaron Turon-1/+1
As part of [RFC 474](https://github.com/rust-lang/rfcs/pull/474), this commit renames `std::path` to `std::old_path`, leaving the existing path API in place to ease migration to the new one. Updating should be as simple as adjusting imports, and the prelude still maps to the old path APIs for now. [breaking-change]
2015-02-02`for x in xs.into_iter()` -> `for x in xs`Jorge Aparicio-1/+1
Also `for x in option.into_iter()` -> `if let Some(x) = option`
2015-02-02`for x in xs.iter()` -> `for x in &xs`Jorge Aparicio-8/+8
2015-01-30Merge remote-tracking branch 'origin/master' into rollupAlex Crichton-4/+4
2015-01-30Remove all `i` suffixesTobias Bucher-79/+79
2015-01-29`for x in range(a, b)` -> `for x in a..b`Jorge Aparicio-3/+3
sed -i 's/in range(\([^,]*\), *\([^()]*\))/in \1\.\.\2/g' **/*.rs
2015-01-29`range(a, b).foo()` -> `(a..b).foo()`Jorge Aparicio-1/+1
sed -i 's/ range(\([^,]*\), *\([^()]*\))\./ (\1\.\.\2)\./g' **/*.rs
2015-01-28Merge remote-tracking branch 'origin/master' into rollupManish Goregaokar-1/+0
Conflicts: src/libcollections/slice.rs src/libcore/nonzero.rs src/libcore/ops.rs
2015-01-27Merge remote-tracking branch 'rust-lang/master'Brian Anderson-12/+12
Conflicts: src/libcore/cell.rs src/librustc_driver/test.rs src/libstd/old_io/net/tcp.rs src/libstd/old_io/process.rs
2015-01-27Rollup merge of #21602 - japaric:derive-copy, r=alexcrichtonManish Goregaokar-16/+8
2015-01-26std: Rename Writer::write to Writer::write_allAlex Crichton-1/+1
In preparation for upcoming changes to the `Writer` trait (soon to be called `Write`) this commit renames the current `write` method to `write_all` to match the semantics of the upcoming `write_all` method. The `write` method will be repurposed to return a `usize` indicating how much data was written which differs from the current `write` semantics. In order to head off as much unintended breakage as possible, the method is being deprecated now in favor of a new name. [breaking-change]
2015-01-26Fallout of io => old_ioAlex Crichton-11/+11
2015-01-25Merge remote-tracking branch 'rust-lang/master'Brian Anderson-0/+34
Conflicts: src/libcore/cmp.rs src/libcore/fmt/mod.rs src/libcore/iter.rs src/libcore/marker.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/result.rs src/libcore/str/mod.rs src/librustc/lint/builtin.rs src/librustc/lint/context.rs src/libstd/sync/mpsc/mod.rs src/libstd/sync/poison.rs
2015-01-25cleanup: s/impl Copy/#[derive(Copy)]/gJorge Aparicio-16/+8
2015-01-25Merge remote-tracking branch 'rust-lang/master'Brian Anderson-3/+156
Conflicts: mk/tests.mk src/liballoc/arc.rs src/liballoc/boxed.rs src/liballoc/rc.rs src/libcollections/bit.rs src/libcollections/btree/map.rs src/libcollections/btree/set.rs src/libcollections/dlist.rs src/libcollections/ring_buf.rs src/libcollections/slice.rs src/libcollections/str.rs src/libcollections/string.rs src/libcollections/vec.rs src/libcollections/vec_map.rs src/libcore/any.rs src/libcore/array.rs src/libcore/borrow.rs src/libcore/error.rs src/libcore/fmt/mod.rs src/libcore/iter.rs src/libcore/marker.rs src/libcore/ops.rs src/libcore/result.rs src/libcore/slice.rs src/libcore/str/mod.rs src/libregex/lib.rs src/libregex/re.rs src/librustc/lint/builtin.rs src/libstd/collections/hash/map.rs src/libstd/collections/hash/set.rs src/libstd/sync/mpsc/mod.rs src/libstd/sync/mutex.rs src/libstd/sync/poison.rs src/libstd/sync/rwlock.rs src/libsyntax/feature_gate.rs src/libsyntax/test.rs
2015-01-24debuginfo: Extend option-like-enum test case to contain nested discriminants.Michael Woerister-0/+34
2015-01-22Rollup merge of #21471 - michaelwoerister:associated-types, r=alexcrichtonSteve Klabnik-0/+152
This should fix issue #20797 (but I don't want to close it automatically). As the actual fix is very small this would be a perfect candidate for a rollup.
2015-01-21Make diagnostic ordering deterministicAlex Crichton-0/+1
2015-01-21Tie stability attributes to feature gatesBrian Anderson-1/+0
2015-01-21debuginfo: Fix issue with associated types and struct fieldsMichael Woerister-0/+152
2015-01-20rustc: Remove deprecated flagsAlex Crichton-3/+3
This commit removes a number of deprecated flags from the compiler: * opt-level => -C opt-level * debuginfo => -C debuginfo * print-crate-name => --print crate-name * print-file-name => --print file-names * no-trans => -Z no-trans * no-analysis => -Z no-analysis * parse-only => -Z parse-only * dep-info => --emit dep-info This commit also moves the --pretty flag behind `-Z unstable-options` as the pretty printer will likely not be stable for 1.0 cc #19051
2015-01-15rollup merge of #21197: michaelwoerister/linestablesonly-forloopAlex Crichton-1/+5
Fixes #21067.
2015-01-15debuginfo: Fix ICE when compiling for-loops with lines-tables-only.Michael Woerister-1/+5
2015-01-14Revert "rustc_trans: Fix type projection debuginfo" -- it potentially papers ↵Niko Matsakis-28/+0
over a lack of normalization that should have taken place. This reverts commit f7745a9be3eb2d9438f08b383156f0a33cbb0cdf.
2015-01-11rustc_trans: Fix type projection debuginfoErick Tryzelaar-0/+28
Closes #20797
2015-01-08Improvements to feature stagingBrian Anderson-1/+1
This gets rid of the 'experimental' level, removes the non-staged_api case (i.e. stability levels for out-of-tree crates), and lets the staged_api attributes use 'unstable' and 'deprecated' lints. This makes the transition period to the full feature staging design a bit nicer.
2015-01-07Test fixes and rebase conflictsAlex Crichton-2/+24
2015-01-07remove some `slicing_syntax` feature gatesJorge Aparicio-1/+0
2015-01-06More test fixesAlex Crichton-4/+4
2015-01-06rollup merge of #20557: cactorium/prettyprintersAlex Crichton-0/+9
As per https://github.com/rust-lang/rust/issues/20405. To be more precise, the changes just the processing of enums when the name is "RUST$ENCODED$ENUM$..." so it correctly parses when there is more than one number encoding the location of the field it's looking for to determine state of the enum
2015-01-06rollup merge of #20609: cmr/memAlex Crichton-53/+53
2015-01-07TestsNick Cameron-1/+1
2015-01-06test fallout from isize/usizeCorey Richardson-53/+53
2015-01-07Replace full slice notation with index callsNick Cameron-1/+1
2015-01-05rollup merge of #20482: kmcallister/macro-reformAlex Crichton-1/+0
Conflicts: src/libflate/lib.rs src/libstd/lib.rs src/libstd/macros.rs src/libsyntax/feature_gate.rs src/libsyntax/parse/parser.rs src/libsyntax/show_span.rs src/test/auxiliary/macro_crate_test.rs src/test/compile-fail/lint-stability.rs src/test/run-pass/intrinsics-math.rs src/test/run-pass/tcp-connect-timeouts.rs
2015-01-05Un-gate macro_rulesKeegan McAllister-1/+0
2015-01-05fix debuginfo testsJorge Aparicio-20/+18
2015-01-05Fixed testsKelvin Ly-1/+0