diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-22 11:28:01 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-27 21:44:51 -0700 |
| commit | b53454e2e413ac58da20933968cb4a86a3c7c476 (patch) | |
| tree | 049f02aae3a1c7be395a3b7467ae31af92def081 /src/test/run-pass/conditional-debug-macro-on.rs | |
| parent | 911cc9c35234ab12a4b9a6fc1cb35b52556f242d (diff) | |
| download | rust-b53454e2e413ac58da20933968cb4a86a3c7c476.tar.gz rust-b53454e2e413ac58da20933968cb4a86a3c7c476.zip | |
Move std::{reflect,repr,Poly} to a libdebug crate
This commit moves reflection (as well as the {:?} format modifier) to a new
libdebug crate, all of which is marked experimental.
This is a breaking change because it now requires the debug crate to be
explicitly linked if the :? format qualifier is used. This means that any code
using this feature will have to add `extern crate debug;` to the top of the
crate. Any code relying on reflection will also need to do this.
Closes #12019
[breaking-change]
Diffstat (limited to 'src/test/run-pass/conditional-debug-macro-on.rs')
| -rw-r--r-- | src/test/run-pass/conditional-debug-macro-on.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/conditional-debug-macro-on.rs b/src/test/run-pass/conditional-debug-macro-on.rs index 732c50afbf3..399a145468d 100644 --- a/src/test/run-pass/conditional-debug-macro-on.rs +++ b/src/test/run-pass/conditional-debug-macro-on.rs @@ -10,6 +10,8 @@ // exec-env:RUST_LOG=conditional-debug-macro-on=4 +extern crate debug; + pub fn main() { // exits early if println! evaluates its arguments, otherwise it // will hit the fail. |
