File tree 15 files changed +38
-38
lines changed
15 files changed +38
-38
lines changed Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // pretty-mode:expanded
8
- // pp-exact:asm.pp
9
- // only-x86_64
7
+ //@ pretty-mode:expanded
8
+ //@ pp-exact:asm.pp
9
+ //@ only-x86_64
10
10
11
11
use std::arch::asm;
12
12
Original file line number Diff line number Diff line change 3
3
// Test via: rustc -Zunpretty normal tests/pretty/block-comment-wchar.rs
4
4
// ignore-tidy-cr
5
5
// ignore-tidy-tab
6
- // pp-exact:block-comment-wchar.pp
6
+ // @ pp-exact:block-comment-wchar.pp
7
7
fn f() {
8
8
fn nested() {
9
9
/*
Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // pretty-compare-only
8
- // pretty-mode:expanded
9
- // pp-exact:cast-lt.pp
7
+ //@ pretty-compare-only
8
+ //@ pretty-mode:expanded
9
+ //@ pp-exact:cast-lt.pp
10
10
11
11
macro_rules! negative { ($e :expr) => { $e < 0 } }
12
12
Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // pretty-compare-only
8
- // pretty-mode:expanded
9
- // pp-exact:dollar-crate.pp
7
+ //@ pretty-compare-only
8
+ //@ pretty-mode:expanded
9
+ //@ pp-exact:dollar-crate.pp
10
10
11
11
fn main() { { ::std::io::_print(format_args!(" rust\n " )); }; }
Original file line number Diff line number Diff line change 1
- // pp-exact:example2.pp
1
+ // @ pp-exact:example2.pp
2
2
3
3
fn main() {}
Original file line number Diff line number Diff line change 6
6
extern crate std;
7
7
// Test for issue 80832
8
8
//
9
- // pretty-mode:expanded
10
- // pp-exact:expanded-and-path-remap-80832.pp
11
- // compile-flags: --remap-path-prefix {{src-base}}=the/src
9
+ //@ pretty-mode:expanded
10
+ //@ pp-exact:expanded-and-path-remap-80832.pp
11
+ //@ compile-flags: --remap-path-prefix {{src-base}}=the/src
12
12
13
13
fn main() {}
Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // pretty-compare-only
8
- // pretty-mode:expanded
9
- // pp-exact:format-args-str-escape .pp
7
+ //@ pretty-compare-only
8
+ //@ pretty-mode:expanded
9
+ //@ pp-exact:format-args-str-escape .pp
10
10
11
11
fn main() {
12
12
{ ::std::io::_print(format_args!(" \u {1b}[1mHello, world!\u {1b}[0m\n " )); };
Original file line number Diff line number Diff line change 1
- // pretty-compare-only
2
- // pretty-mode:hir
3
- // pp-exact:hir-fn-variadic.pp
1
+ //@ pretty-compare-only
2
+ //@ pretty-mode:hir
3
+ //@ pp-exact:hir-fn-variadic.pp
4
4
5
5
# ![feature(c_variadic)]
6
6
# [prelude_import]
Original file line number Diff line number Diff line change 2
2
use ::std::prelude::rust_2015::*;
3
3
# [macro_use]
4
4
extern crate std;
5
- // pretty-compare-only
6
- // pretty-mode:hir
7
- // pp-exact:hir-pretty-loop.pp
5
+ //@ pretty-compare-only
6
+ //@ pretty-mode:hir
7
+ //@ pp-exact:hir-pretty-loop.pp
8
8
9
9
fn foo() { loop { break; } }
Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // pretty-compare-only
8
- // pretty-mode:expanded
9
- // pp-exact:issue-12590-c.pp
7
+ //@ pretty-compare-only
8
+ //@ pretty-mode:expanded
9
+ //@ pp-exact:issue-12590-c.pp
10
10
11
11
// The next line should be expanded
12
12
Original file line number Diff line number Diff line change 1
- // pp-exact:issue-31073.pp
1
+ //@ pp-exact:issue-31073.pp
2
2
3
3
fn main() {
4
4
fn f1(x: i32, y: i32) -> i32 { y }
Original file line number Diff line number Diff line change 2
2
use ::std::prelude::rust_2015::*;
3
3
# [macro_use]
4
4
extern crate std;
5
- // pretty-compare-only
6
- // pretty-mode:hir,typed
7
- // pp-exact:issue-4264.pp
5
+ //@ pretty-compare-only
6
+ //@ pretty-mode:hir,typed
7
+ //@ pp-exact:issue-4264.pp
8
8
9
9
// # 4264 fixed-length vector types
10
10
Original file line number Diff line number Diff line change 4
4
extern crate std;
5
5
// Test to print lifetimes on HIR pretty-printing.
6
6
7
- // pretty-compare-only
8
- // pretty-mode:hir
9
- // pp-exact:issue-85089.pp
7
+ // @ pretty-compare-only
8
+ // @ pretty-mode:hir
9
+ // @ pp-exact:issue-85089.pp
10
10
11
11
trait A<' x> { }
12
12
trait B<' x> { }
Original file line number Diff line number Diff line change 4
4
use ::std::prelude::rust_2015::*;
5
5
# [macro_use]
6
6
extern crate std;
7
- // compile-flags: --crate-type=lib --test --remap-path-prefix={{src-base}}/=/the/src/ --remap-path-prefix={{src-base}}\=/the/src/
8
- // pretty-compare-only
9
- // pretty-mode:expanded
10
- // pp-exact:tests-are-sorted.pp
7
+ //@ compile-flags: --crate-type=lib --test --remap-path-prefix={{src-base}}/=/the/src/ --remap-path-prefix={{src-base}}\=/the/src/
8
+ //@ pretty-compare-only
9
+ //@ pretty-mode:expanded
10
+ //@ pp-exact:tests-are-sorted.pp
11
11
12
12
extern crate test;
13
13
# [cfg(test)]
Original file line number Diff line number Diff line change 1
1
// Issue #679
2
2
// Testing that comments are correctly interleaved
3
- // pp-exact:vec-comments.pp
3
+ // @ pp-exact:vec-comments.pp
4
4
fn main() {
5
5
let _v1 =
6
6
[
You can’t perform that action at this time.
0 commit comments