about summary refs log tree commit diff
path: root/src/test/debuginfo
AgeCommit message (Collapse)AuthorLines
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
2014-12-09rollup merge of #19581: luqmana/ducAlex Crichton-6/+43
Fixes #19575.
2014-12-08librustc: Make `Copy` opt-in.Niko Matsakis-0/+27
This change makes the compiler no longer infer whether types (structures and enumerations) implement the `Copy` trait (and thus are implicitly copyable). Rather, you must implement `Copy` yourself via `impl Copy for MyType {}`. A new warning has been added, `missing_copy_implementations`, to warn you if a non-generic public type has been added that could have implemented `Copy` but didn't. For convenience, you may *temporarily* opt out of this behavior by using `#![feature(opt_out_copy)]`. Note though that this feature gate will never be accepted and will be removed by the time that 1.0 is released, so you should transition your code away from using it. This breaks code like: #[deriving(Show)] struct Point2D { x: int, y: int, } fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } Change this code to: #[deriving(Show)] struct Point2D { x: int, y: int, } impl Copy for Point2D {} fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } This is the backwards-incompatible part of #13231. Part of RFC #3. [breaking-change]
2014-12-05librustc: Fix debuginfo for captured variables in non-FnOnce unboxed closures.Luqman Aden-6/+43
2014-12-02gdb: Fix pretty printer for nullable-opt enums with fat pointers.Luqman Aden-2/+10
2014-12-02lldb: Fix pretty printer for nullable-opt enums with fat pointers.Luqman Aden-0/+9
2014-12-01debuginfo: Fix multi-byte character related bug in cleanup scope handling.Michael Woerister-0/+28
Also see issue #18791.
2014-11-27debuginfo: Make variables captured in unboxed closures available in debuginfo.Michael Woerister-1/+18
2014-11-20removed struct_variant feature from testsSimon Wollwage-18/+0
2014-11-17Switch to purely namespaced enumsSteven Fackler-21/+54
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-10-31debuginfo: Enable some GDB tests on Windows.Michael Woerister-9/+0
2014-10-31debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.Michael Woerister-447/+57
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
2014-10-30rollup merge of #18398 : aturon/lint-conventions-2Alex Crichton-50/+50
Conflicts: src/libcollections/slice.rs src/libcore/failure.rs src/libsyntax/parse/token.rs src/test/debuginfo/basic-types-mut-globals.rs src/test/debuginfo/simple-struct.rs src/test/debuginfo/trait-pointers.rs
2014-10-29Rename fail! to panic!Steve Klabnik-1/+1
https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change]
2014-10-28Update code with new lint namesAaron Turon-50/+50
2014-10-22debuginfo: Gate all LLDB debuginfo tests on a minimum LLDB version being ↵Michael Woerister-16/+100
available
2014-10-11Remove `virtual` struct testsJakub Wieczorek-12/+1
2014-10-09Rename the no_split_stack attribute to no_stack_checkKeegan McAllister-12/+12
The old name is misleading as we haven't had segmented stacks in quite some time. But we still recognize it, with a deprecation warning.
2014-10-08debuginfo: Don't mark struct fields as artificial.Michael Woerister-31/+35
LLDB doesn't allow for reading 'artifical' fields (fields that are generated by the compiler). So do not mark, slice fields, enum discriminants, and GcBox value fields as artificial.
2014-10-07Put slicing syntax behind a feature gate.Nick Cameron-0/+1
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-07Use slice syntax instead of slice_to, etc.Nick Cameron-1/+1
2014-10-02Test fixes from the rollupAlex Crichton-53/+53
2014-10-02rollup merge of #17666 : eddyb/take-garbage-outAlex Crichton-578/+2
Conflicts: src/libcollections/lib.rs src/libcore/lib.rs src/librustdoc/lib.rs src/librustrt/lib.rs src/libserialize/lib.rs src/libstd/lib.rs src/test/run-pass/issue-8898.rs