about summary refs log tree commit diff
path: root/src/test/debuginfo
AgeCommit message (Collapse)AuthorLines
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
2015-01-05Fixed testsKelvin Ly-2/+2
2015-01-05Added two tests for pretty printing optimized enumsKelvin Ly-0/+10
2015-01-02rollup merge of #20341: nikomatsakis/impl-trait-for-trait-2Alex Crichton-3/+3
Conflicts: src/librustc/middle/traits/mod.rs src/libstd/io/mod.rs src/test/run-pass/builtin-superkinds-self-type.rs
2015-01-02Merge remote-tracking branch 'origin/master' into rollupAlex Crichton-6/+6
Conflicts: src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs
2015-01-02Fix fallout in tests.Niko Matsakis-3/+3
2015-01-02Use `derive` rather than `deriving` in testsNick Cameron-6/+6
2015-01-01debuginfo: Fix an ICE related to local variables in unreachable code.Michael Woerister-0/+86
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-9/+132
printers enabled.
2014-12-23debuginfo: Add test case for destructured for-loop variable.Michael Woerister-0/+219
2014-12-23debuginfo: Create debuginfo for for-loop variables again.Michael Woerister-1/+0
2014-12-22Revert "debuginfo: Create debuginfo for for-loop variables again."Alex Crichton-0/+1
This reverts commit b0481147184a8ee70f066423dc077ffa0bd821b5.
2014-12-22Revert "debuginfo: Add test case for destructured for-loop variable."Alex Crichton-178/+0
This reverts commit 87c5927b79b8eec8763659da8a3cf4561a4ceabd.
2014-12-21rollup merge of #20057: nick29581/array-syntaxAlex Crichton-15/+15
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported. Part of #19999 r? @nikomatsakis
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-15/+15
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-12-19debuginfo: Add test case for destructured for-loop variable.Michael Woerister-0/+178
2014-12-19debuginfo: Create debuginfo for for-loop variables again.Michael Woerister-1/+0
2014-12-18librustc: Always parse `macro!()`/`macro![]` as expressions if notPatrick Walton-10/+10
followed by a semicolon. This allows code like `vec![1i, 2, 3].len();` to work. This breaks code that uses macros as statements without putting semicolons after them, such as: fn main() { ... assert!(a == b) assert!(c == d) println(...); } It also breaks code that uses macros as items without semicolons: local_data_key!(foo) fn main() { println("hello world") } Add semicolons to fix this code. Those two examples can be fixed as follows: fn main() { ... assert!(a == b); assert!(c == d); println(...); } local_data_key!(foo); fn main() { println("hello world") } RFC #378. Closes #18635. [breaking-change]
2014-12-14Mostly rote conversion of `proc()` to `move||` (and occasionally `Thunk::new`)Niko Matsakis-6/+1