rust/src/test
David Tolnay 1b8ca54002
Add pp-exact test involving where T:
Currently fails.

    ---- [pretty] src/test/pretty/where-clauses.rs stdout ----

    error: pretty-printed source does not match expected source
    expected:
    ------------------------------------------
    // pp-exact

    fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }

    // This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
    fn zero_bounds<'a, T>() where 'a:, T: {}

    fn main() {}

    ------------------------------------------
    actual:
    ------------------------------------------
    // pp-exact

    fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }

    // This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
    fn zero_bounds<'a, T>() where 'a, T {}

    fn main() {}

    ------------------------------------------
    diff:
    ------------------------------------------
    3	fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }
    4
    5	// This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
    -	fn zero_bounds<'a, T>() where 'a:, T: {}
    +	fn zero_bounds<'a, T>() where 'a, T {}
    7
    8	fn main() {}
    9
2022-06-16 17:03:47 -07:00
..
assembly hexagon: adapt test for upstream output changes 2022-06-07 13:21:34 -04:00
auxiliary
codegen Rollup merge of #98078 - erikdesjardins:uncheckedsize, r=petrochenkov 2022-06-15 12:02:03 +09:00
codegen-units Fix/bless tests broken by DSE 2022-05-24 22:50:21 -04:00
debuginfo The type of the slice length field is architecture dependent 2022-06-15 18:35:41 -04:00
incremental address review 2022-06-14 16:08:18 +02:00
mir-opt fix wrong evaluation in clippy 2022-06-14 16:11:35 +02:00
pretty Add pp-exact test involving where T: 2022-06-16 17:03:47 -07:00
run-make Stabilize the bundle native library modifier 2022-06-09 23:12:58 +04:00
run-make-fulldeps Stabilize the bundle native library modifier 2022-06-09 23:12:58 +04:00
run-pass-valgrind
rustdoc Auto merge of #97842 - notriddle:notriddle/tuple-docs, r=jsha,GuillaumeGomez 2022-06-16 11:13:30 +00:00
rustdoc-gui Add GUI test for sidebar items expand/collapse 2022-06-14 20:09:09 +02:00
rustdoc-js rustdoc: also index raw pointers 2022-05-31 11:21:55 -07:00
rustdoc-js-std Rollup merge of #96887 - notriddle:notriddle/as-raw-fd, r=jsha 2022-05-11 13:16:31 +09:00
rustdoc-json Add regression test for #97986 2022-06-13 15:29:29 +02:00
rustdoc-ui rustdoc: add missing article 2022-06-13 09:28:49 -07:00
ui Auto merge of #97842 - notriddle:notriddle/tuple-docs, r=jsha,GuillaumeGomez 2022-06-16 11:13:30 +00:00
ui-fulldeps Rollup merge of #98083 - nnethercote:rename-Encoder, r=bjorn3 2022-06-15 12:02:04 +09:00
COMPILER_TESTS.md