Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove meaningless comment decoration from code #63347

Closed
wants to merge 4 commits into from
Closed

Remove meaningless comment decoration from code #63347

wants to merge 4 commits into from

Conversation

sd234678
Copy link
Contributor

@sd234678 sd234678 commented Aug 7, 2019

Closes #62601

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 7, 2019
@sd234678
Copy link
Contributor Author

sd234678 commented Aug 7, 2019

r? @Centril

@rust-highfive rust-highfive assigned Centril and unassigned nikomatsakis Aug 7, 2019
@petrochenkov
Copy link
Contributor

They are not necessarily meaningless, they may partition code into some logical parts, and highlight those parts and comments applying to those whole parts visually.

It doesn't necessarily have to be /////////////////////// (which are unintentionally treated as doc comments), just something big and visible "from the distance".

@sd234678
Copy link
Contributor Author

sd234678 commented Aug 7, 2019

They're not treated as doc comments are they? Some of the ones I left in were trying to illustrate it such as the ones in src/test/ui/issues/issue-10638.rs.
The majority of the deleted ones were the only comments in the file, so most people's syntax highlighting will make them stand out. They also differ from the doc comments, so they stand out that way. Some of them use capitalisation to stand out, and looking through as I removed them none of them seemed to have their value diminished by the lack of separators.
I guess the discussion is more whether the issue should be there in the first place, but no one has suggested otherwise on it.

@sd234678
Copy link
Contributor Author

sd234678 commented Aug 7, 2019

Further to this, if code within a file is in so many distinct parts that it needs partitioning, perhaps it shouldn't be in the same module?

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-08-07T08:47:21.5520462Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-08-07T08:47:21.5732787Z ##[command]git config gc.auto 0
2019-08-07T08:47:21.5827757Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-08-07T08:47:21.5899309Z ##[command]git config --get-all http.proxy
2019-08-07T08:47:21.6054410Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63347/merge:refs/remotes/pull/63347/merge
---
2019-08-07T08:47:56.1223920Z do so (now or later) by using -b with the checkout command again. Example:
2019-08-07T08:47:56.1223966Z 
2019-08-07T08:47:56.1224151Z   git checkout -b <new-branch-name>
2019-08-07T08:47:56.1224177Z 
2019-08-07T08:47:56.1224223Z HEAD is now at 817ca27b2 Merge 6c7fdef8aa025309d4d17535fc75fd79a48ac84d into 5421d94960018235654c7fb39aa1c502a3564621
2019-08-07T08:47:56.1381532Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-08-07T08:47:56.1384375Z ==============================================================================
2019-08-07T08:47:56.1384427Z Task         : Bash
2019-08-07T08:47:56.1384466Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-08-07T09:49:05.2586697Z .................................................................................................... 1400/8842
2019-08-07T09:49:11.1884097Z .................................................................................................... 1500/8842
2019-08-07T09:49:21.6952283Z ...............................................................................i...............i.... 1600/8842
2019-08-07T09:49:29.7821872Z .................................................................................................... 1700/8842
2019-08-07T09:49:38.1425563Z .................................................................iiiii.............................. 1800/8842
2019-08-07T09:49:57.3032598Z .................................................................................................... 2000/8842
2019-08-07T09:49:59.7225774Z .................................................................................................... 2100/8842
2019-08-07T09:50:02.7021765Z .................................................................................................... 2200/8842
2019-08-07T09:50:10.3684036Z .................................................................................................... 2300/8842
---
2019-08-07T09:53:53.2631856Z .................................................................................................... 5200/8842
2019-08-07T09:54:03.2739928Z ....................................................................................i............... 5300/8842
2019-08-07T09:54:11.1592673Z .................................................................................................... 5400/8842
2019-08-07T09:54:16.6394689Z .................................................................................................... 5500/8842
2019-08-07T09:54:27.6344214Z ..............................................................................ii...i..ii...........i 5600/8842
2019-08-07T09:54:50.8661330Z .................................................................................................... 5800/8842
2019-08-07T09:54:56.0026480Z .................................................................................................... 5900/8842
2019-08-07T09:54:56.0026480Z .................................................................................................... 5900/8842
2019-08-07T09:55:00.7843637Z ...............................................................................i..ii................ 6000/8842
2019-08-07T09:55:31.0760635Z .................................................................................................... 6200/8842
2019-08-07T09:55:33.2503343Z ......................i............................................................................. 6300/8842
2019-08-07T09:55:35.4521732Z ..............................................................................................i..... 6400/8842
2019-08-07T09:55:38.0944814Z .................................................................................................... 6500/8842
2019-08-07T09:55:38.0944814Z .................................................................................................... 6500/8842
2019-08-07T09:55:43.0006850Z .................................................................................................... 6600/8842
2019-08-07T09:56:04.7139682Z .................................................................................................... 6700/8842
2019-08-07T09:56:21.0113179Z .................................................................................................... 6800/8842
2019-08-07T09:56:26.4953542Z .....................................F..F........................................................... 6900/8842
2019-08-07T09:56:32.0469031Z .........................................................F.FFFF..................................... 7000/8842
2019-08-07T09:56:43.7243492Z .................................................................................................... 7200/8842
2019-08-07T09:56:53.5965663Z .................................................................................................... 7300/8842
2019-08-07T09:57:03.2909019Z .................................................................................................... 7400/8842
2019-08-07T09:57:11.6011091Z ......................ii......i..................................................................... 7500/8842
---
2019-08-07T09:59:36.8109281Z 1 error[E0308]: mismatched types
2019-08-07T09:59:36.8109566Z -   --> $DIR/associated-type-projection-from-supertrait.rs:33:23
2019-08-07T09:59:36.8109814Z +   --> $DIR/associated-type-projection-from-supertrait.rs:27:23
2019-08-07T09:59:36.8109863Z 3    |
2019-08-07T09:59:36.8109908Z 4 LL | fn b() { dent(ModelT, Blue); }
2019-08-07T09:59:36.8109976Z 5    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8110070Z 8               found type `Blue`
2019-08-07T09:59:36.8110127Z 9 
2019-08-07T09:59:36.8110170Z 10 error[E0308]: mismatched types
2019-08-07T09:59:36.8110424Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-07T09:59:36.8110424Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-07T09:59:36.8110666Z +   --> $DIR/associated-type-projection-from-supertrait.rs:28:23
2019-08-07T09:59:36.8110733Z 12    |
2019-08-07T09:59:36.8110777Z 13 LL | fn c() { dent(ModelU, Black); }
2019-08-07T09:59:36.8110829Z 14    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8110922Z 17               found type `Black`
2019-08-07T09:59:36.8110964Z 18 
2019-08-07T09:59:36.8111006Z 19 error[E0308]: mismatched types
2019-08-07T09:59:36.8111263Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-07T09:59:36.8111263Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-07T09:59:36.8111501Z +   --> $DIR/associated-type-projection-from-supertrait.rs:32:28
2019-08-07T09:59:36.8111558Z 21    |
2019-08-07T09:59:36.8111619Z 22 LL | fn f() { ModelT.chip_paint(Blue); }
2019-08-07T09:59:36.8111672Z 23    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8112746Z 26               found type `Blue`
2019-08-07T09:59:36.8112822Z 27 
2019-08-07T09:59:36.8112856Z 28 error[E0308]: mismatched types
2019-08-07T09:59:36.8113132Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-07T09:59:36.8113132Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-07T09:59:36.8113349Z +   --> $DIR/associated-type-projection-from-supertrait.rs:33:28
2019-08-07T09:59:36.8113674Z 30    |
2019-08-07T09:59:36.8113714Z 31 LL | fn g() { ModelU.chip_paint(Black); }
2019-08-07T09:59:36.8113774Z 32    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8113822Z 
2019-08-07T09:59:36.8113857Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8114426Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-07T09:59:36.8114426Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-07T09:59:36.8114831Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8115137Z To only update this specific test, also pass `--test-args associated-type/associated-type-projection-from-supertrait.rs`
2019-08-07T09:59:36.8115210Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8115248Z status: exit code: 1
2019-08-07T09:59:36.8115248Z status: exit code: 1
2019-08-07T09:59:36.8115938Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8116244Z ------------------------------------------
2019-08-07T09:59:36.8116273Z 
2019-08-07T09:59:36.8116463Z ------------------------------------------
2019-08-07T09:59:36.8116518Z stderr:
2019-08-07T09:59:36.8116518Z stderr:
2019-08-07T09:59:36.8116700Z ------------------------------------------
2019-08-07T09:59:36.8116739Z error[E0308]: mismatched types
2019-08-07T09:59:36.8116981Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:27:23
2019-08-07T09:59:36.8117025Z    |
2019-08-07T09:59:36.8117067Z LL | fn b() { dent(ModelT, Blue); } //~ ERROR mismatched types
2019-08-07T09:59:36.8117127Z    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8117207Z    = note: expected type `Black`
2019-08-07T09:59:36.8117260Z               found type `Blue`
2019-08-07T09:59:36.8117285Z 
2019-08-07T09:59:36.8117320Z error[E0308]: mismatched types
2019-08-07T09:59:36.8117320Z error[E0308]: mismatched types
2019-08-07T09:59:36.8117853Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:28:23
2019-08-07T09:59:36.8118038Z    |
2019-08-07T09:59:36.8118078Z LL | fn c() { dent(ModelU, Black); } //~ ERROR mismatched types
2019-08-07T09:59:36.8118121Z    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8118681Z    = note: expected type `Blue`
2019-08-07T09:59:36.8118733Z               found type `Black`
2019-08-07T09:59:36.8118763Z 
2019-08-07T09:59:36.8118821Z error[E0308]: mismatched types
2019-08-07T09:59:36.8118821Z error[E0308]: mismatched types
2019-08-07T09:59:36.8120869Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:32:28
2019-08-07T09:59:36.8120949Z    |
2019-08-07T09:59:36.8121021Z LL | fn f() { ModelT.chip_paint(Blue); } //~ ERROR mismatched types
2019-08-07T09:59:36.8121091Z    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8121195Z    = note: expected type `Black`
2019-08-07T09:59:36.8121240Z               found type `Blue`
2019-08-07T09:59:36.8121408Z 
2019-08-07T09:59:36.8121460Z error[E0308]: mismatched types
2019-08-07T09:59:36.8121460Z error[E0308]: mismatched types
2019-08-07T09:59:36.8122157Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:33:28
2019-08-07T09:59:36.8122366Z    |
2019-08-07T09:59:36.8122406Z LL | fn g() { ModelU.chip_paint(Black); } //~ ERROR mismatched types
2019-08-07T09:59:36.8122466Z    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8122537Z    = note: expected type `Blue`
2019-08-07T09:59:36.8122590Z               found type `Black`
2019-08-07T09:59:36.8122614Z 
2019-08-07T09:59:36.8122649Z error: aborting due to 4 previous errors
---
2019-08-07T09:59:36.8123401Z 
2019-08-07T09:59:36.8123635Z ---- [ui] ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs stdout ----
2019-08-07T09:59:36.8123676Z diff of stderr:
2019-08-07T09:59:36.8123699Z 
2019-08-07T09:59:36.8123752Z 1 error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-07T09:59:36.8124156Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:31:10
2019-08-07T09:59:36.8124210Z 3    |
2019-08-07T09:59:36.8124210Z 3    |
2019-08-07T09:59:36.8124246Z 4 LL | fn b() { blue_car(ModelT); }
2019-08-07T09:59:36.8124286Z 5    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8124366Z 7    = note: expected type `Black`
2019-08-07T09:59:36.8124402Z 8               found type `Blue`
2019-08-07T09:59:36.8124402Z 8               found type `Blue`
2019-08-07T09:59:36.8124437Z 9 note: required by `blue_car`
2019-08-07T09:59:36.8124859Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:27:1
2019-08-07T09:59:36.8124897Z 11    |
2019-08-07T09:59:36.8124897Z 11    |
2019-08-07T09:59:36.8124933Z 12 LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-07T09:59:36.8125016Z 
2019-08-07T09:59:36.8125046Z 14 
2019-08-07T09:59:36.8125046Z 14 
2019-08-07T09:59:36.8125102Z 15 error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-07T09:59:36.8125505Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:32:10
2019-08-07T09:59:36.8125559Z 17    |
2019-08-07T09:59:36.8125559Z 17    |
2019-08-07T09:59:36.8125601Z 18 LL | fn c() { black_car(ModelU); }
2019-08-07T09:59:36.8125640Z 19    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8125716Z 21    = note: expected type `Blue`
2019-08-07T09:59:36.8125757Z 22               found type `Black`
2019-08-07T09:59:36.8125757Z 22               found type `Black`
2019-08-07T09:59:36.8125792Z 23 note: required by `black_car`
2019-08-07T09:59:36.8126207Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:24:1
2019-08-07T09:59:36.8126244Z 25    |
2019-08-07T09:59:36.8126244Z 25    |
2019-08-07T09:59:36.8126294Z 26 LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-07T09:59:36.8126532Z 
2019-08-07T09:59:36.8126554Z 
2019-08-07T09:59:36.8126593Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8127117Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-07T09:59:36.8127117Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-07T09:59:36.8127346Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8127711Z To only update this specific test, also pass `--test-args associated-types/associated-types-binding-to-type-defined-in-supertrait.rs`
2019-08-07T09:59:36.8127795Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8127850Z status: exit code: 1
2019-08-07T09:59:36.8127850Z status: exit code: 1
2019-08-07T09:59:36.8129113Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8129564Z ------------------------------------------
2019-08-07T09:59:36.8129599Z 
2019-08-07T09:59:36.8129834Z ------------------------------------------
2019-08-07T09:59:36.8129879Z stderr:
2019-08-07T09:59:36.8129879Z stderr:
2019-08-07T09:59:36.8130089Z ------------------------------------------
2019-08-07T09:59:36.8130158Z error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-07T09:59:36.8130506Z    |
2019-08-07T09:59:36.8130506Z    |
2019-08-07T09:59:36.8130572Z LL | fn b() { blue_car(ModelT); } //~ ERROR type mismatch
2019-08-07T09:59:36.8130623Z    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-07T09:59:36.8130735Z    = note: expected type `Black`
2019-08-07T09:59:36.8130780Z               found type `Blue`
2019-08-07T09:59:36.8130780Z               found type `Blue`
2019-08-07T09:59:36.8130824Z note: required by `blue_car`
2019-08-07T09:59:36.8131188Z    |
2019-08-07T09:59:36.8131188Z    |
2019-08-07T09:59:36.8131232Z LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-07T09:59:36.8131327Z 
2019-08-07T09:59:36.8131327Z 
2019-08-07T09:59:36.8131375Z error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-07T09:59:36.8131729Z    |
2019-08-07T09:59:36.8131729Z    |
2019-08-07T09:59:36.8131777Z LL | fn c() { black_car(ModelU); } //~ ERROR type mismatch
2019-08-07T09:59:36.8131991Z    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-07T09:59:36.8132250Z    = note: expected type `Blue`
2019-08-07T09:59:36.8132286Z               found type `Black`
2019-08-07T09:59:36.8132286Z               found type `Black`
2019-08-07T09:59:36.8132322Z note: required by `black_car`
2019-08-07T09:59:36.8132617Z    |
2019-08-07T09:59:36.8132617Z    |
2019-08-07T09:59:36.8132653Z LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-07T09:59:36.8132731Z 
2019-08-07T09:59:36.8132765Z error: aborting due to 2 previous errors
2019-08-07T09:59:36.8132789Z 
2019-08-07T09:59:36.8133158Z For more information about this error, try `rustc --explain E0271`.
2019-08-07T09:59:36.8133158Z For more information about this error, try `rustc --explain E0271`.
2019-08-07T09:59:36.8133185Z 
2019-08-07T09:59:36.8133351Z ------------------------------------------
2019-08-07T09:59:36.8133376Z 
2019-08-07T09:59:36.8133411Z 
2019-08-07T09:59:36.8133591Z ---- [ui] ui/hrtb/hrtb-conflate-regions.rs stdout ----
2019-08-07T09:59:36.8133637Z diff of stderr:
2019-08-07T09:59:36.8133660Z 
2019-08-07T09:59:36.8133897Z 1 error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-07T09:59:36.8134078Z -   --> $DIR/hrtb-conflate-regions.rs:28:10
2019-08-07T09:59:36.8134318Z +   --> $DIR/hrtb-conflate-regions.rs:27:10
2019-08-07T09:59:36.8134379Z 3    |
2019-08-07T09:59:36.8134415Z 4 LL | fn b() { want_foo2::<SomeStruct>(); }
2019-08-07T09:59:36.8134850Z 5    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-07T09:59:36.8134919Z 
2019-08-07T09:59:36.8134957Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8135208Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-07T09:59:36.8135208Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-07T09:59:36.8135425Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8135846Z To only update this specific test, also pass `--test-args hrtb/hrtb-conflate-regions.rs`
2019-08-07T09:59:36.8135916Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8135969Z status: exit code: 1
2019-08-07T09:59:36.8135969Z status: exit code: 1
2019-08-07T09:59:36.8137155Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/hrtb/hrtb-conflate-regions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8137570Z ------------------------------------------
2019-08-07T09:59:36.8137604Z 
2019-08-07T09:59:36.8138031Z ------------------------------------------
2019-08-07T09:59:36.8138077Z stderr:
2019-08-07T09:59:36.8138077Z stderr:
2019-08-07T09:59:36.8138911Z ------------------------------------------
2019-08-07T09:59:36.8139255Z error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-07T09:59:36.8139618Z    |
2019-08-07T09:59:36.8139618Z    |
2019-08-07T09:59:36.8139689Z LL | fn b() { want_foo2::<SomeStruct>(); } //~ ERROR
2019-08-07T09:59:36.8140022Z    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-07T09:59:36.8140146Z    = help: the following implementations were found:
2019-08-07T09:59:36.8140146Z    = help: the following implementations were found:
2019-08-07T09:59:36.8141041Z              <SomeStruct as Foo<(&'a isize, &'a isize)>>
2019-08-07T09:59:36.8141738Z note: required by `want_foo2`
2019-08-07T09:59:36.8149388Z    |
2019-08-07T09:59:36.8149388Z    |
2019-08-07T09:59:36.8149435Z LL | / fn want_foo2<T>()
2019-08-07T09:59:36.8152152Z LL | |     where T : for<'a,'b> Foo<(&'a isize, &'b isize)>
2019-08-07T09:59:36.8152247Z LL | | {
2019-08-07T09:59:36.8152314Z    | |_^
2019-08-07T09:59:36.8152354Z 
2019-08-07T09:59:36.8152407Z error: aborting due to previous error
2019-08-07T09:59:36.8152435Z 
---
2019-08-07T09:59:36.8153590Z diff of stderr:
2019-08-07T09:59:36.8153614Z 
2019-08-07T09:59:36.8153650Z 7    = note: `#[warn(incomplete_features)]` on by default
2019-08-07T09:59:36.8153702Z 8 
2019-08-07T09:59:36.8153743Z 9 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-07T09:59:36.8154154Z +   --> $DIR/bound-normalization-fail.rs:28:32
2019-08-07T09:59:36.8154214Z 11    |
2019-08-07T09:59:36.8154214Z 11    |
2019-08-07T09:59:36.8154573Z 12 LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-07T09:59:36.8154645Z 13    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-07T09:59:36.8154694Z 
2019-08-07T09:59:36.8154734Z 17    = note: the return type of a function must have a statically known size
2019-08-07T09:59:36.8154772Z 18 
2019-08-07T09:59:36.8155090Z 19 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-07T09:59:36.8156470Z +   --> $DIR/bound-normalization-fail.rs:44:41
2019-08-07T09:59:36.8156540Z 21    |
2019-08-07T09:59:36.8156540Z 21    |
2019-08-07T09:59:36.8156937Z 22 LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-07T09:59:36.8157966Z 23    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-07T09:59:36.8158049Z 
2019-08-07T09:59:36.8158101Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8162686Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-07T09:59:36.8162686Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-07T09:59:36.8163142Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8165540Z To only update this specific test, also pass `--test-args impl-trait/bound-normalization-fail.rs`
2019-08-07T09:59:36.8165664Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8165702Z status: exit code: 1
2019-08-07T09:59:36.8165702Z status: exit code: 1
2019-08-07T09:59:36.8179682Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/impl-trait/bound-normalization-fail.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8180143Z ------------------------------------------
2019-08-07T09:59:36.8180207Z 
2019-08-07T09:59:36.8180467Z ------------------------------------------
2019-08-07T09:59:36.8180519Z stderr:
---
2019-08-07T09:59:36.8181326Z    |            ^^^^^^^^^^^^^^^^^^^^^^
2019-08-07T09:59:36.8181370Z    |
2019-08-07T09:59:36.8181447Z    = note: `#[warn(incomplete_features)]` on by default
2019-08-07T09:59:36.8181482Z 
2019-08-07T09:59:36.8181535Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-07T09:59:36.8182207Z    |
2019-08-07T09:59:36.8182207Z    |
2019-08-07T09:59:36.8182419Z LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-07T09:59:36.8182489Z    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-07T09:59:36.8182566Z    = note: expected type `()`
2019-08-07T09:59:36.8182566Z    = note: expected type `()`
2019-08-07T09:59:36.8182606Z               found type `<T as impl_trait::Trait>::Assoc`
2019-08-07T09:59:36.8182678Z    = note: the return type of a function must have a statically known size
2019-08-07T09:59:36.8182706Z 
2019-08-07T09:59:36.8182963Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-07T09:59:36.8183425Z    |
2019-08-07T09:59:36.8183425Z    |
2019-08-07T09:59:36.8183683Z LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-07T09:59:36.8183756Z    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-07T09:59:36.8183831Z    = note: expected type `()`
2019-08-07T09:59:36.8183831Z    = note: expected type `()`
2019-08-07T09:59:36.8184063Z               found type `<T as lifetimes::Trait<'static>>::Assoc`
2019-08-07T09:59:36.8184113Z    = note: the return type of a function must have a statically known size
2019-08-07T09:59:36.8184265Z error: aborting due to 2 previous errors
2019-08-07T09:59:36.8184307Z 
2019-08-07T09:59:36.8184551Z For more information about this error, try `rustc --explain E0271`.
2019-08-07T09:59:36.8184583Z 
2019-08-07T09:59:36.8184583Z 
2019-08-07T09:59:36.8184774Z ------------------------------------------
2019-08-07T09:59:36.8184823Z 
2019-08-07T09:59:36.8184855Z 
2019-08-07T09:59:36.8185056Z ---- [ui] ui/issues/issue-12028.rs stdout ----
2019-08-07T09:59:36.8185098Z diff of stderr:
2019-08-07T09:59:36.8185139Z 
2019-08-07T09:59:36.8185183Z 1 error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-07T09:59:36.8185386Z -   --> $DIR/issue-12028.rs:29:14
2019-08-07T09:59:36.8185577Z +   --> $DIR/issue-12028.rs:27:14
2019-08-07T09:59:36.8185673Z 4 LL |         self.input_stream(&mut stream);
2019-08-07T09:59:36.8185711Z 5    |              ^^^^^^^^^^^^
2019-08-07T09:59:36.8185752Z 
2019-08-07T09:59:36.8185774Z 
2019-08-07T09:59:36.8185774Z 
2019-08-07T09:59:36.8185822Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8186083Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/issue-12028.stderr
2019-08-07T09:59:36.8186322Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8186582Z To only update this specific test, also pass `--test-args issues/issue-12028.rs`
2019-08-07T09:59:36.8186675Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8186715Z status: exit code: 1
2019-08-07T09:59:36.8186715Z status: exit code: 1
2019-08-07T09:59:36.8187327Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/issues/issue-12028.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8187657Z ------------------------------------------
2019-08-07T09:59:36.8187691Z 
2019-08-07T09:59:36.8187928Z ------------------------------------------
2019-08-07T09:59:36.8187979Z stderr:
2019-08-07T09:59:36.8187979Z stderr:
2019-08-07T09:59:36.8188186Z ------------------------------------------
2019-08-07T09:59:36.8188618Z error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-07T09:59:36.8188984Z   --> /checkout/src/test/ui/issues/issue-12028.rs:27:14
2019-08-07T09:59:36.8189046Z    |
2019-08-07T09:59:36.8189123Z LL |         self.input_stream(&mut stream); //~ ERROR type annotations required
2019-08-07T09:59:36.8189210Z 
2019-08-07T09:59:36.8189276Z error: aborting due to previous error
2019-08-07T09:59:36.8189310Z 
2019-08-07T09:59:36.8189602Z For more information about this error, try `rustc --explain E0284`.
2019-08-07T09:59:36.8189602Z For more information about this error, try `rustc --explain E0284`.
2019-08-07T09:59:36.8189656Z 
2019-08-07T09:59:36.8189915Z ------------------------------------------
2019-08-07T09:59:36.8189974Z 
2019-08-07T09:59:36.8190004Z 
2019-08-07T09:59:36.8190473Z ---- [ui] ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs#migrate stdout ----
2019-08-07T09:59:36.8190553Z diff of stderr:
2019-08-07T09:59:36.8190609Z 
2019-08-07T09:59:36.8190992Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8191623Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-07T09:59:36.8191678Z 3    |
2019-08-07T09:59:36.8191678Z 3    |
2019-08-07T09:59:36.8192114Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8192206Z 
2019-08-07T09:59:36.8192325Z 6    |
2019-08-07T09:59:36.8192325Z 6    |
2019-08-07T09:59:36.8192594Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 37:15
2019-08-07T09:59:36.8192843Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:15
2019-08-07T09:59:36.8193086Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-07T09:59:36.8193310Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:15
2019-08-07T09:59:36.8193371Z 9    |
2019-08-07T09:59:36.8193563Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8193631Z 
2019-08-07T09:59:36.8193631Z 
2019-08-07T09:59:36.8194065Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 37:18
2019-08-07T09:59:36.8194285Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:18
2019-08-07T09:59:36.8194527Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-07T09:59:36.8194971Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:18
2019-08-07T09:59:36.8195014Z 14    |
2019-08-07T09:59:36.8195198Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8195282Z 
2019-08-07T09:59:36.8195303Z 
2019-08-07T09:59:36.8195348Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8195348Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8195696Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/regions-assoc-type-in-supertrait-outlives-container.migrate.stderr
2019-08-07T09:59:36.8195923Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8196205Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-07T09:59:36.8196242Z 
2019-08-07T09:59:36.8196282Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8196330Z status: exit code: 1
2019-08-07T09:59:36.8197062Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8197372Z ------------------------------------------
2019-08-07T09:59:36.8197403Z 
2019-08-07T09:59:36.8197754Z ------------------------------------------
2019-08-07T09:59:36.8197804Z stderr:
2019-08-07T09:59:36.8197804Z stderr:
2019-08-07T09:59:36.8198200Z ------------------------------------------
2019-08-07T09:59:36.8198948Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8199488Z    |
2019-08-07T09:59:36.8199488Z    |
2019-08-07T09:59:36.8199787Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8199918Z    |
2019-08-07T09:59:36.8199918Z    |
2019-08-07T09:59:36.8200206Z note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-07T09:59:36.8200590Z    |
2019-08-07T09:59:36.8200590Z    |
2019-08-07T09:59:36.8200820Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8200892Z    |               ^^
2019-08-07T09:59:36.8201201Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-07T09:59:36.8201704Z    |
2019-08-07T09:59:36.8201704Z    |
2019-08-07T09:59:36.8201936Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8202031Z 
2019-08-07T09:59:36.8202263Z error: aborting due to previous error
2019-08-07T09:59:36.8202292Z 
2019-08-07T09:59:36.8202686Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-07T09:59:36.8203662Z 1 error: lifetime may not live long enough
2019-08-07T09:59:36.8203879Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:43:12
2019-08-07T09:59:36.8204104Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-07T09:59:36.8204142Z 3    |
2019-08-07T09:59:36.8204311Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8204529Z 5    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8204577Z 
2019-08-07T09:59:36.8204612Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8204612Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8204931Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/regions-assoc-type-in-supertrait-outlives-container.nll.stderr
2019-08-07T09:59:36.8205141Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8205400Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-07T09:59:36.8205433Z 
2019-08-07T09:59:36.8205469Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8205512Z status: exit code: 1
2019-08-07T09:59:36.8206191Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8206671Z ------------------------------------------
2019-08-07T09:59:36.8206703Z 
2019-08-07T09:59:36.8206919Z ------------------------------------------
2019-08-07T09:59:36.8206971Z stderr:
2019-08-07T09:59:36.8206971Z stderr:
2019-08-07T09:59:36.8207166Z ------------------------------------------
2019-08-07T09:59:36.8207209Z error: lifetime may not live long enough
2019-08-07T09:59:36.8207728Z   --> /checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-07T09:59:36.8207798Z    |
2019-08-07T09:59:36.8208022Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8209042Z    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8209342Z    |               lifetime `'a` defined here
2019-08-07T09:59:36.8209416Z ...
2019-08-07T09:59:36.8209416Z ...
2019-08-07T09:59:36.8209672Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8209970Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-07T09:59:36.8210083Z error: aborting due to previous error
2019-08-07T09:59:36.8210112Z 
2019-08-07T09:59:36.8210253Z 
2019-08-07T09:59:36.8210525Z ------------------------------------------
2019-08-07T09:59:36.8210525Z ------------------------------------------
2019-08-07T09:59:36.8210584Z 
2019-08-07T09:59:36.8210611Z 
2019-08-07T09:59:36.8210894Z ---- [ui] ui/regions/regions-outlives-projection-container-hrtb.rs#migrate stdout ----
2019-08-07T09:59:36.8210952Z diff of stderr:
2019-08-07T09:59:36.8211014Z 
2019-08-07T09:59:36.8211333Z 1 error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8212058Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-07T09:59:36.8212102Z 3    |
2019-08-07T09:59:36.8212102Z 3    |
2019-08-07T09:59:36.8212308Z 4 LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8212400Z 
2019-08-07T09:59:36.8212431Z 6    |
2019-08-07T09:59:36.8212431Z 6    |
2019-08-07T09:59:36.8212661Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-07T09:59:36.8212913Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:15
2019-08-07T09:59:36.8213309Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-07T09:59:36.8213527Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:15
2019-08-07T09:59:36.8213588Z 9    |
2019-08-07T09:59:36.8213777Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8213841Z 
2019-08-07T09:59:36.8213841Z 
2019-08-07T09:59:36.8214098Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-07T09:59:36.8214311Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:18
2019-08-07T09:59:36.8214551Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-07T09:59:36.8214785Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:18
2019-08-07T09:59:36.8214824Z 14    |
2019-08-07T09:59:36.8215017Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8215291Z 
2019-08-07T09:59:36.8215321Z 17 
2019-08-07T09:59:36.8215321Z 17 
2019-08-07T09:59:36.8215579Z 18 error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8216052Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-07T09:59:36.8216093Z 20    |
2019-08-07T09:59:36.8216093Z 20    |
2019-08-07T09:59:36.8216323Z 21 LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-07T09:59:36.8216398Z 
2019-08-07T09:59:36.8216448Z 23    |
2019-08-07T09:59:36.8216448Z 23    |
2019-08-07T09:59:36.8216681Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 53:19
2019-08-07T09:59:36.8216894Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:19
2019-08-07T09:59:36.8217153Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-07T09:59:36.8217373Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:19
2019-08-07T09:59:36.8217414Z 26    |
2019-08-07T09:59:36.8217601Z 27 LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8218105Z 
2019-08-07T09:59:36.8218105Z 
2019-08-07T09:59:36.8218499Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 53:22
2019-08-07T09:59:36.8218799Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:22
2019-08-07T09:59:36.8219114Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-07T09:59:36.8219386Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:22
2019-08-07T09:59:36.8219458Z 31    |
2019-08-07T09:59:36.8219697Z 32 LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8219893Z 
2019-08-07T09:59:36.8219944Z 
2019-08-07T09:59:36.8219993Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8219993Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8220433Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/regions-outlives-projection-container-hrtb.migrate.stderr
2019-08-07T09:59:36.8220744Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8221069Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-07T09:59:36.8221111Z 
2019-08-07T09:59:36.8221180Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8221398Z status: exit code: 1
2019-08-07T09:59:36.8222589Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8222885Z ------------------------------------------
2019-08-07T09:59:36.8222932Z 
2019-08-07T09:59:36.8223113Z ------------------------------------------
2019-08-07T09:59:36.8223151Z stderr:
2019-08-07T09:59:36.8223151Z stderr:
2019-08-07T09:59:36.8223340Z ------------------------------------------
2019-08-07T09:59:36.8223578Z error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8223871Z    |
2019-08-07T09:59:36.8223871Z    |
2019-08-07T09:59:36.8224063Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8224153Z    |
2019-08-07T09:59:36.8224153Z    |
2019-08-07T09:59:36.8224372Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-07T09:59:36.8224628Z    |
2019-08-07T09:59:36.8224628Z    |
2019-08-07T09:59:36.8224815Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8224853Z    |               ^^
2019-08-07T09:59:36.8225073Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-07T09:59:36.8225350Z    |
2019-08-07T09:59:36.8225350Z    |
2019-08-07T09:59:36.8225513Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8225601Z 
2019-08-07T09:59:36.8225601Z 
2019-08-07T09:59:36.8225833Z error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8226112Z    |
2019-08-07T09:59:36.8226112Z    |
2019-08-07T09:59:36.8226376Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-07T09:59:36.8226485Z    |
2019-08-07T09:59:36.8226485Z    |
2019-08-07T09:59:36.8226722Z note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-07T09:59:36.8226993Z    |
2019-08-07T09:59:36.8226993Z    |
2019-08-07T09:59:36.8227164Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8227202Z    |                   ^^
2019-08-07T09:59:36.8227438Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-07T09:59:36.8227797Z    |
2019-08-07T09:59:36.8227797Z    |
2019-08-07T09:59:36.8227985Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8228049Z 
2019-08-07T09:59:36.8228225Z error: aborting due to 2 previous errors
2019-08-07T09:59:36.8228468Z 
2019-08-07T09:59:36.8228790Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-07T09:59:36.8229587Z 1 error: lifetime may not live long enough
2019-08-07T09:59:36.8229853Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:35:12
2019-08-07T09:59:36.8230136Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-07T09:59:36.8230212Z 3    |
2019-08-07T09:59:36.8230443Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8230699Z 5    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8231068Z 10    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-07T09:59:36.8231126Z 11 
2019-08-07T09:59:36.8231191Z 12 error: lifetime may not live long enough
2019-08-07T09:59:36.8231467Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-07T09:59:36.8231467Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-07T09:59:36.8232055Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-07T09:59:36.8232095Z 14    |
2019-08-07T09:59:36.8232289Z 15 LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8232482Z 16    |                   -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8232530Z 
2019-08-07T09:59:36.8232582Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8232582Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8232880Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/regions-outlives-projection-container-hrtb.nll.stderr
2019-08-07T09:59:36.8233116Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8233376Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-07T09:59:36.8233408Z 
2019-08-07T09:59:36.8233445Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8233499Z status: exit code: 1
2019-08-07T09:59:36.8234220Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8234567Z ------------------------------------------
2019-08-07T09:59:36.8234599Z 
2019-08-07T09:59:36.8234816Z ------------------------------------------
2019-08-07T09:59:36.8234855Z stderr:
2019-08-07T09:59:36.8234855Z stderr:
2019-08-07T09:59:36.8235041Z ------------------------------------------
2019-08-07T09:59:36.8235101Z error: lifetime may not live long enough
2019-08-07T09:59:36.8235329Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-07T09:59:36.8235373Z    |
2019-08-07T09:59:36.8235580Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8235778Z    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8236155Z    |               lifetime `'a` defined here
2019-08-07T09:59:36.8236196Z ...
2019-08-07T09:59:36.8236196Z ...
2019-08-07T09:59:36.8236398Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8236660Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-07T09:59:36.8236916Z error: lifetime may not live long enough
2019-08-07T09:59:36.8237152Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-07T09:59:36.8237213Z    |
2019-08-07T09:59:36.8237213Z    |
2019-08-07T09:59:36.8237780Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-07T09:59:36.8238032Z    |                   -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8238878Z    |                   lifetime `'a` defined here
2019-08-07T09:59:36.8238931Z ...
2019-08-07T09:59:36.8238931Z ...
2019-08-07T09:59:36.8239209Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-07T09:59:36.8239539Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-07T09:59:36.8239631Z error: aborting due to 2 previous errors
2019-08-07T09:59:36.8239682Z 
2019-08-07T09:59:36.8239711Z 
2019-08-07T09:59:36.8239966Z ------------------------------------------
2019-08-07T09:59:36.8239966Z ------------------------------------------
2019-08-07T09:59:36.8240004Z 
2019-08-07T09:59:36.8240030Z 
2019-08-07T09:59:36.8240332Z ---- [ui] ui/regions/regions-outlives-projection-container-wc.rs#migrate stdout ----
2019-08-07T09:59:36.8240387Z diff of stderr:
2019-08-07T09:59:36.8240417Z 
2019-08-07T09:59:36.8240747Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8241309Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-07T09:59:36.8241382Z 3    |
2019-08-07T09:59:36.8241382Z 3    |
2019-08-07T09:59:36.8241638Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8241910Z 
2019-08-07T09:59:36.8241966Z 6    |
2019-08-07T09:59:36.8241966Z 6    |
2019-08-07T09:59:36.8242210Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 31:15
2019-08-07T09:59:36.8242439Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:15
2019-08-07T09:59:36.8242701Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-07T09:59:36.8242925Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:15
2019-08-07T09:59:36.8242968Z 9    |
2019-08-07T09:59:36.8243177Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8243247Z 
2019-08-07T09:59:36.8243247Z 
2019-08-07T09:59:36.8243501Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 31:18
2019-08-07T09:59:36.8243743Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:18
2019-08-07T09:59:36.8244011Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-07T09:59:36.8244233Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:18
2019-08-07T09:59:36.8244296Z 14    |
2019-08-07T09:59:36.8244491Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8244684Z 
2019-08-07T09:59:36.8244728Z 
2019-08-07T09:59:36.8244767Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8244767Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8245121Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/regions-outlives-projection-container-wc.migrate.stderr
2019-08-07T09:59:36.8245376Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8245636Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-07T09:59:36.8245671Z 
2019-08-07T09:59:36.8245730Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8245857Z status: exit code: 1
2019-08-07T09:59:36.8246800Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8247145Z ------------------------------------------
2019-08-07T09:59:36.8247201Z 
2019-08-07T09:59:36.8247425Z ------------------------------------------
2019-08-07T09:59:36.8247482Z stderr:
2019-08-07T09:59:36.8247482Z stderr:
2019-08-07T09:59:36.8247879Z ------------------------------------------
2019-08-07T09:59:36.8248160Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8248994Z    |
2019-08-07T09:59:36.8248994Z    |
2019-08-07T09:59:36.8249257Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8249380Z    |
2019-08-07T09:59:36.8249380Z    |
2019-08-07T09:59:36.8249666Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-07T09:59:36.8250032Z    |
2019-08-07T09:59:36.8250032Z    |
2019-08-07T09:59:36.8250264Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8250317Z    |               ^^
2019-08-07T09:59:36.8250620Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-07T09:59:36.8251010Z    |
2019-08-07T09:59:36.8251010Z    |
2019-08-07T09:59:36.8251234Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8251348Z 
2019-08-07T09:59:36.8251393Z error: aborting due to previous error
2019-08-07T09:59:36.8251424Z 
2019-08-07T09:59:36.8251714Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-07T09:59:36.8252581Z 1 error: lifetime may not live long enough
2019-08-07T09:59:36.8252806Z -   --> $DIR/regions-outlives-projection-container-wc.rs:37:12
2019-08-07T09:59:36.8253083Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-07T09:59:36.8253148Z 3    |
2019-08-07T09:59:36.8253518Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8253731Z 5    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8253909Z 
2019-08-07T09:59:36.8253950Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8253950Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8254475Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/regions-outlives-projection-container-wc.nll.stderr
2019-08-07T09:59:36.8254919Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8255197Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-07T09:59:36.8255235Z 
2019-08-07T09:59:36.8255295Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-07T09:59:36.8255421Z status: exit code: 1
2019-08-07T09:59:36.8256714Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8257055Z ------------------------------------------
2019-08-07T09:59:36.8257110Z 
2019-08-07T09:59:36.8257490Z ------------------------------------------
2019-08-07T09:59:36.8257534Z stderr:
2019-08-07T09:59:36.8257534Z stderr:
2019-08-07T09:59:36.8257768Z ------------------------------------------
2019-08-07T09:59:36.8257981Z error: lifetime may not live long enough
2019-08-07T09:59:36.8258645Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs:33:12
2019-08-07T09:59:36.8258730Z    |
2019-08-07T09:59:36.8258985Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8259243Z    |               -- -- lifetime `'b` defined here
2019-08-07T09:59:36.8259562Z    |               lifetime `'a` defined here
2019-08-07T09:59:36.8259614Z ...
2019-08-07T09:59:36.8259614Z ...
2019-08-07T09:59:36.8259863Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8260188Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-07T09:59:36.8260277Z error: aborting due to previous error
2019-08-07T09:59:36.8260306Z 
2019-08-07T09:59:36.8260352Z 
2019-08-07T09:59:36.8260595Z ------------------------------------------
2019-08-07T09:59:36.8260595Z ------------------------------------------
2019-08-07T09:59:36.8260644Z 
2019-08-07T09:59:36.8260670Z 
2019-08-07T09:59:36.8260962Z ---- [ui] ui/regions/regions-outlives-projection-container.rs stdout ----
2019-08-07T09:59:36.8261021Z diff of stderr:
2019-08-07T09:59:36.8261051Z 
2019-08-07T09:59:36.8261378Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8262062Z +   --> $DIR/regions-outlives-projection-container.rs:36:13
2019-08-07T09:59:36.8262104Z 3    |
2019-08-07T09:59:36.8262104Z 3    |
2019-08-07T09:59:36.8262329Z 4 LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8262398Z 
2019-08-07T09:59:36.8262429Z 6    |
2019-08-07T09:59:36.8262429Z 6    |
2019-08-07T09:59:36.8262685Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-07T09:59:36.8263066Z -   --> $DIR/regions-outlives-projection-container.rs:32:15
2019-08-07T09:59:36.8263303Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-07T09:59:36.8263531Z +   --> $DIR/regions-outlives-projection-container.rs:28:15
2019-08-07T09:59:36.8263571Z 9    |
2019-08-07T09:59:36.8263750Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8263936Z 
2019-08-07T09:59:36.8263936Z 
2019-08-07T09:59:36.8264207Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-07T09:59:36.8264436Z -   --> $DIR/regions-outlives-projection-container.rs:32:18
2019-08-07T09:59:36.8264854Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-07T09:59:36.8265058Z +   --> $DIR/regions-outlives-projection-container.rs:28:18
2019-08-07T09:59:36.8265114Z 14    |
2019-08-07T09:59:36.8265288Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8265423Z 
2019-08-07T09:59:36.8265472Z 17 
2019-08-07T09:59:36.8265472Z 17 
2019-08-07T09:59:36.8265733Z 18 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8266147Z +   --> $DIR/regions-outlives-projection-container.rs:54:13
2019-08-07T09:59:36.8266189Z 20    |
2019-08-07T09:59:36.8266189Z 20    |
2019-08-07T09:59:36.8266383Z 21 LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8266472Z 
2019-08-07T09:59:36.8266504Z 23    |
2019-08-07T09:59:36.8266504Z 23    |
2019-08-07T09:59:36.8266729Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 54:18
2019-08-07T09:59:36.8266957Z -   --> $DIR/regions-outlives-projection-container.rs:54:18
2019-08-07T09:59:36.8267190Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-07T09:59:36.8267397Z +   --> $DIR/regions-outlives-projection-container.rs:50:18
2019-08-07T09:59:36.8267464Z 26    |
2019-08-07T09:59:36.8267717Z 27 LL | fn without_assoc<'a,'b>() {
2019-08-07T09:59:36.8267781Z 
2019-08-07T09:59:36.8267781Z 
2019-08-07T09:59:36.8268047Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 54:21
2019-08-07T09:59:36.8269141Z -   --> $DIR/regions-outlives-projection-container.rs:54:21
2019-08-07T09:59:36.8269465Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-07T09:59:36.8269762Z +   --> $DIR/regions-outlives-projection-container.rs:50:21
2019-08-07T09:59:36.8269815Z 31    |
2019-08-07T09:59:36.8270050Z 32 LL | fn without_assoc<'a,'b>() {
2019-08-07T09:59:36.8270155Z 
2019-08-07T09:59:36.8270195Z 34 
2019-08-07T09:59:36.8270195Z 34 
2019-08-07T09:59:36.8270512Z 35 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8271087Z +   --> $DIR/regions-outlives-projection-container.rs:63:12
2019-08-07T09:59:36.8271138Z 37    |
2019-08-07T09:59:36.8271138Z 37    |
2019-08-07T09:59:36.8271406Z 38 LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-07T09:59:36.8271506Z 
2019-08-07T09:59:36.8271564Z 40    |
2019-08-07T09:59:36.8271564Z 40    |
2019-08-07T09:59:36.8272025Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 62:20
2019-08-07T09:59:36.8272418Z -   --> $DIR/regions-outlives-projection-container.rs:62:20
2019-08-07T09:59:36.8272653Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-07T09:59:36.8272890Z +   --> $DIR/regions-outlives-projection-container.rs:58:20
2019-08-07T09:59:36.8272934Z 43    |
2019-08-07T09:59:36.8273124Z 44 LL | fn call_with_assoc<'a,'b>() {
2019-08-07T09:59:36.8273222Z 
2019-08-07T09:59:36.8273222Z 
2019-08-07T09:59:36.8273469Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 62:23
2019-08-07T09:59:36.8273699Z -   --> $DIR/regions-outlives-projection-container.rs:62:23
2019-08-07T09:59:36.8274035Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-07T09:59:36.8274293Z +   --> $DIR/regions-outlives-projection-container.rs:58:23
2019-08-07T09:59:36.8274356Z 48    |
2019-08-07T09:59:36.8274548Z 49 LL | fn call_with_assoc<'a,'b>() {
2019-08-07T09:59:36.8274614Z 
2019-08-07T09:59:36.8274664Z 51 
2019-08-07T09:59:36.8274664Z 51 
2019-08-07T09:59:36.8274918Z 52 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8275360Z +   --> $DIR/regions-outlives-projection-container.rs:70:12
2019-08-07T09:59:36.8275484Z 54    |
2019-08-07T09:59:36.8275484Z 54    |
2019-08-07T09:59:36.8275711Z 55 LL |     call::<&'a WithoutAssoc<TheType<'b>>>();
2019-08-07T09:59:36.8275805Z 
2019-08-07T09:59:36.8275838Z 57    |
2019-08-07T09:59:36.8275838Z 57    |
2019-08-07T09:59:36.8276260Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 71:23
2019-08-07T09:59:36.8276502Z -   --> $DIR/regions-outlives-projection-container.rs:71:23
2019-08-07T09:59:36.8276742Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-07T09:59:36.8276958Z +   --> $DIR/regions-outlives-projection-container.rs:67:23
2019-08-07T09:59:36.8277019Z 60    |
2019-08-07T09:59:36.8277219Z 61 LL | fn call_without_assoc<'a,'b>() {
2019-08-07T09:59:36.8277290Z 
2019-08-07T09:59:36.8277290Z 
2019-08-07T09:59:36.8277926Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 71:26
2019-08-07T09:59:36.8278597Z -   --> $DIR/regions-outlives-projection-container.rs:71:26
2019-08-07T09:59:36.8278945Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-07T09:59:36.8279241Z +   --> $DIR/regions-outlives-projection-container.rs:67:26
2019-08-07T09:59:36.8279307Z 65    |
2019-08-07T09:59:36.8279552Z 66 LL | fn call_without_assoc<'a,'b>() {
2019-08-07T09:59:36.8279658Z 
2019-08-07T09:59:36.8279684Z 
2019-08-07T09:59:36.8279730Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8280121Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-07T09:59:36.8280121Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-07T09:59:36.8280408Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8280725Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container.rs`
2019-08-07T09:59:36.8280847Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8280894Z status: exit code: 1
2019-08-07T09:59:36.8280894Z status: exit code: 1
2019-08-07T09:59:36.8282062Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8282366Z ------------------------------------------
2019-08-07T09:59:36.8282396Z 
2019-08-07T09:59:36.8282590Z ------------------------------------------
2019-08-07T09:59:36.8282658Z stderr:
2019-08-07T09:59:36.8282658Z stderr:
2019-08-07T09:59:36.8283042Z ------------------------------------------
2019-08-07T09:59:36.8283303Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8283733Z    |
2019-08-07T09:59:36.8283733Z    |
2019-08-07T09:59:36.8283978Z LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8284085Z    |
2019-08-07T09:59:36.8284085Z    |
2019-08-07T09:59:36.8284318Z note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-07T09:59:36.8284623Z    |
2019-08-07T09:59:36.8284623Z    |
2019-08-07T09:59:36.8284814Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8284857Z    |               ^^
2019-08-07T09:59:36.8285243Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-07T09:59:36.8285528Z    |
2019-08-07T09:59:36.8285528Z    |
2019-08-07T09:59:36.8285734Z LL | fn with_assoc<'a,'b>() {
2019-08-07T09:59:36.8285814Z 
2019-08-07T09:59:36.8285814Z 
2019-08-07T09:59:36.8286088Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8286558Z    |
2019-08-07T09:59:36.8286558Z    |
2019-08-07T09:59:36.8286967Z LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-07T09:59:36.8287075Z    |
2019-08-07T09:59:36.8287075Z    |
2019-08-07T09:59:36.8287534Z note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-07T09:59:36.8287858Z    |
2019-08-07T09:59:36.8287858Z    |
2019-08-07T09:59:36.8288051Z LL | fn without_assoc<'a,'b>() {
2019-08-07T09:59:36.8288114Z    |                  ^^
2019-08-07T09:59:36.8288522Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-07T09:59:36.8289269Z    |
2019-08-07T09:59:36.8289269Z    |
2019-08-07T09:59:36.8289499Z LL | fn without_assoc<'a,'b>() {
2019-08-07T09:59:36.8289583Z 
2019-08-07T09:59:36.8289583Z 
2019-08-07T09:59:36.8289911Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8290257Z    |
2019-08-07T09:59:36.8290257Z    |
2019-08-07T09:59:36.8290518Z LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-07T09:59:36.8290631Z    |
2019-08-07T09:59:36.8290631Z    |
2019-08-07T09:59:36.8290937Z note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-07T09:59:36.8291294Z    |
2019-08-07T09:59:36.8291294Z    |
2019-08-07T09:59:36.8291545Z LL | fn call_with_assoc<'a,'b>() {
2019-08-07T09:59:36.8291599Z    |                    ^^
2019-08-07T09:59:36.8291902Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-07T09:59:36.8292607Z    |
2019-08-07T09:59:36.8292607Z    |
2019-08-07T09:59:36.8293033Z LL | fn call_with_assoc<'a,'b>() {
2019-08-07T09:59:36.8293116Z 
2019-08-07T09:59:36.8293116Z 
2019-08-07T09:59:36.8293369Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-07T09:59:36.8293677Z    |
2019-08-07T09:59:36.8293677Z    |
2019-08-07T09:59:36.8294090Z LL |     call::<&'a WithoutAssoc<TheType<'b>>>(); //~ ERROR reference has a longer lifetime
2019-08-07T09:59:36.8294297Z    |
2019-08-07T09:59:36.8294297Z    |
2019-08-07T09:59:36.8294747Z note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-07T09:59:36.8295056Z    |
2019-08-07T09:59:36.8295056Z    |
2019-08-07T09:59:36.8295257Z LL | fn call_without_assoc<'a,'b>() {
2019-08-07T09:59:36.8295301Z    |                       ^^
2019-08-07T09:59:36.8295557Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-07T09:59:36.8295957Z    |
2019-08-07T09:59:36.8295957Z    |
2019-08-07T09:59:36.8296177Z LL | fn call_without_assoc<'a,'b>() {
2019-08-07T09:59:36.8296270Z 
2019-08-07T09:59:36.8296307Z error: aborting due to 4 previous errors
2019-08-07T09:59:36.8296341Z 
2019-08-07T09:59:36.8296593Z For more information about this error, try `rustc --explain E0491`.
2019-08-07T09:59:36.8296593Z For more information about this error, try `rustc --explain E0491`.
2019-08-07T09:59:36.8296625Z 
2019-08-07T09:59:36.8296992Z ------------------------------------------
2019-08-07T09:59:36.8297022Z 
2019-08-07T09:59:36.8297064Z 
2019-08-07T09:59:36.8297291Z ---- [ui] ui/specialization/defaultimpl/specialization-no-default.rs stdout ----
2019-08-07T09:59:36.8297336Z diff of stderr:
2019-08-07T09:59:36.8297360Z 
2019-08-07T09:59:36.8297421Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8297998Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-07T09:59:36.8298064Z 3    |
2019-08-07T09:59:36.8298064Z 3    |
2019-08-07T09:59:36.8298099Z 4 LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8298133Z 5 LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8298155Z 
2019-08-07T09:59:36.8298217Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8298254Z 14 
2019-08-07T09:59:36.8298294Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8299361Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-07T09:59:36.8299414Z 17    |
2019-08-07T09:59:36.8299414Z 17    |
2019-08-07T09:59:36.8299481Z 18 LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8299528Z 19 LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8299558Z 
2019-08-07T09:59:36.8299607Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8299676Z 28 
2019-08-07T09:59:36.8299729Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8300274Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-07T09:59:36.8300327Z 31    |
2019-08-07T09:59:36.8300327Z 31    |
2019-08-07T09:59:36.8300381Z 32 LL | / impl<T> Bar for T {
2019-08-07T09:59:36.8300446Z 33 LL | |     type T = u8;
2019-08-07T09:59:36.8300477Z 
2019-08-07T09:59:36.8300526Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8300571Z 41 
2019-08-07T09:59:36.8300642Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8301156Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-07T09:59:36.8301228Z 44    |
2019-08-07T09:59:36.8301228Z 44    |
2019-08-07T09:59:36.8301276Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-07T09:59:36.8301323Z 46 LL | |     fn baz(&self) {}
2019-08-07T09:59:36.8301365Z 
2019-08-07T09:59:36.8301433Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8301479Z 54 
2019-08-07T09:59:36.8301532Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8302546Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-07T09:59:36.8302590Z 57    |
2019-08-07T09:59:36.8302590Z 57    |
2019-08-07T09:59:36.8302646Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-07T09:59:36.8302685Z 59 LL | |     fn redundant(&self) {}
2019-08-07T09:59:36.8302731Z 
2019-08-07T09:59:36.8302786Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8303252Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-07T09:59:36.8303252Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-07T09:59:36.8303477Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8304076Z To only update this specific test, also pass `--test-args specialization/defaultimpl/specialization-no-default.rs`
2019-08-07T09:59:36.8304151Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8304206Z status: exit code: 1
2019-08-07T09:59:36.8304206Z status: exit code: 1
2019-08-07T09:59:36.8304902Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/defaultimpl/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8305219Z ------------------------------------------
2019-08-07T09:59:36.8305251Z 
2019-08-07T09:59:36.8305467Z ------------------------------------------
2019-08-07T09:59:36.8305511Z stderr:
2019-08-07T09:59:36.8305511Z stderr:
2019-08-07T09:59:36.8305709Z ------------------------------------------
2019-08-07T09:59:36.8305768Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8306083Z    |
2019-08-07T09:59:36.8306083Z    |
2019-08-07T09:59:36.8306119Z LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8306174Z LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8306212Z LL | |     fn bar(&self) {}
2019-08-07T09:59:36.8306247Z LL | | }
2019-08-07T09:59:36.8306457Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8306497Z ...
2019-08-07T09:59:36.8306535Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8306596Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-07T09:59:36.8306644Z    |
2019-08-07T09:59:36.8306684Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8306711Z 
2019-08-07T09:59:36.8306939Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8307239Z    |
2019-08-07T09:59:36.8307239Z    |
2019-08-07T09:59:36.8307293Z LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8307329Z LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8307364Z LL | |     fn bar(&self) {}
2019-08-07T09:59:36.8307416Z LL | | }
2019-08-07T09:59:36.8307604Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8307642Z ...
2019-08-07T09:59:36.8307678Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8307738Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-07T09:59:36.8307773Z    |
2019-08-07T09:59:36.8307811Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8308027Z 
2019-08-07T09:59:36.8308070Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8309028Z    |
2019-08-07T09:59:36.8309028Z    |
2019-08-07T09:59:36.8309074Z LL | / impl<T> Bar for T {
2019-08-07T09:59:36.8309119Z LL | |     type T = u8;
2019-08-07T09:59:36.8309163Z LL | | }
2019-08-07T09:59:36.8309447Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8309498Z ...
2019-08-07T09:59:36.8309543Z LL |       type T = (); //~ ERROR E0520
2019-08-07T09:59:36.8309611Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-07T09:59:36.8309658Z    |
2019-08-07T09:59:36.8309707Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8309741Z 
2019-08-07T09:59:36.8309811Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8310279Z    |
2019-08-07T09:59:36.8310279Z    |
2019-08-07T09:59:36.8310345Z LL | / impl<T: Clone> Baz for T {
2019-08-07T09:59:36.8310391Z LL | |     fn baz(&self) {}
2019-08-07T09:59:36.8310445Z LL | | }
2019-08-07T09:59:36.8347050Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8347134Z ...
2019-08-07T09:59:36.8347175Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8347236Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-07T09:59:36.8347276Z    |
2019-08-07T09:59:36.8347319Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8347347Z 
2019-08-07T09:59:36.8347413Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8347907Z    |
2019-08-07T09:59:36.8347907Z    |
2019-08-07T09:59:36.8347970Z LL | / impl<T: Clone> Redundant for T {
2019-08-07T09:59:36.8348011Z LL | |     fn redundant(&self) {}
2019-08-07T09:59:36.8348047Z LL | | }
2019-08-07T09:59:36.8348729Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8348792Z ...
2019-08-07T09:59:36.8348855Z LL |       fn redundant(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8348913Z    |       ^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-07T09:59:36.8348975Z    |
2019-08-07T09:59:36.8349026Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8349116Z error: aborting due to 5 previous errors
2019-08-07T09:59:36.8349147Z 
2019-08-07T09:59:36.8349431Z For more information about this error, try `rustc --explain E0520`.
2019-08-07T09:59:36.8349470Z 
2019-08-07T09:59:36.8349470Z 
2019-08-07T09:59:36.8349726Z ------------------------------------------
2019-08-07T09:59:36.8349764Z 
2019-08-07T09:59:36.8349804Z 
2019-08-07T09:59:36.8350071Z ---- [ui] ui/specialization/specialization-no-default.rs stdout ----
2019-08-07T09:59:36.8350139Z diff of stderr:
2019-08-07T09:59:36.8350172Z 
2019-08-07T09:59:36.8350224Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8350922Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-07T09:59:36.8350974Z 3    |
2019-08-07T09:59:36.8350974Z 3    |
2019-08-07T09:59:36.8351020Z 4 LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8351076Z 5 LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8351108Z 
2019-08-07T09:59:36.8351158Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8351204Z 14 
2019-08-07T09:59:36.8351266Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8351944Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-07T09:59:36.8352178Z 17    |
2019-08-07T09:59:36.8352178Z 17    |
2019-08-07T09:59:36.8352217Z 18 LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8352255Z 19 LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8352281Z 
2019-08-07T09:59:36.8352480Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8352538Z 28 
2019-08-07T09:59:36.8352583Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8353268Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-07T09:59:36.8353476Z 31    |
2019-08-07T09:59:36.8353476Z 31    |
2019-08-07T09:59:36.8353529Z 32 LL | / impl<T> Bar for T {
2019-08-07T09:59:36.8353566Z 33 LL | |     type T = u8;
2019-08-07T09:59:36.8353589Z 
2019-08-07T09:59:36.8353627Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8353683Z 41 
2019-08-07T09:59:36.8353724Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8354457Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-07T09:59:36.8354500Z 44    |
2019-08-07T09:59:36.8354500Z 44    |
2019-08-07T09:59:36.8354545Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-07T09:59:36.8354597Z 46 LL | |     fn baz(&self) {}
2019-08-07T09:59:36.8354622Z 
2019-08-07T09:59:36.8354661Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8354696Z 54 
2019-08-07T09:59:36.8354751Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8355163Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-07T09:59:36.8355222Z 57    |
2019-08-07T09:59:36.8355222Z 57    |
2019-08-07T09:59:36.8355260Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-07T09:59:36.8355297Z 59 LL | |     fn redundant(&self) {}
2019-08-07T09:59:36.8355370Z 
2019-08-07T09:59:36.8355409Z The actual stderr differed from the expected stderr.
2019-08-07T09:59:36.8355701Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-07T09:59:36.8355701Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-07T09:59:36.8355955Z To update references, rerun the tests and pass the `--bless` flag
2019-08-07T09:59:36.8356381Z To only update this specific test, also pass `--test-args specialization/specialization-no-default.rs`
2019-08-07T09:59:36.8356468Z error: 1 errors occurred comparing output.
2019-08-07T09:59:36.8356504Z status: exit code: 1
2019-08-07T09:59:36.8356504Z status: exit code: 1
2019-08-07T09:59:36.8357134Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/auxiliary" "-A" "unused"
2019-08-07T09:59:36.8357979Z ------------------------------------------
2019-08-07T09:59:36.8358037Z 
2019-08-07T09:59:36.8358713Z ------------------------------------------
2019-08-07T09:59:36.8358773Z stderr:
2019-08-07T09:59:36.8358773Z stderr:
2019-08-07T09:59:36.8359014Z ------------------------------------------
2019-08-07T09:59:36.8359106Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8359459Z    |
2019-08-07T09:59:36.8359459Z    |
2019-08-07T09:59:36.8359524Z LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8359570Z LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8359630Z LL | |     fn bar(&self) {}
2019-08-07T09:59:36.8359689Z LL | | }
2019-08-07T09:59:36.8359930Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8359984Z ...
2019-08-07T09:59:36.8360050Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8360224Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-07T09:59:36.8360286Z    |
2019-08-07T09:59:36.8360336Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8360384Z 
2019-08-07T09:59:36.8360436Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8360840Z    |
2019-08-07T09:59:36.8360840Z    |
2019-08-07T09:59:36.8360885Z LL | / impl<T> Foo for T {
2019-08-07T09:59:36.8360931Z LL | |     fn foo(&self) {}
2019-08-07T09:59:36.8360994Z LL | |     fn bar(&self) {}
2019-08-07T09:59:36.8361040Z LL | | }
2019-08-07T09:59:36.8361402Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8361454Z ...
2019-08-07T09:59:36.8361522Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8361745Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-07T09:59:36.8361952Z    |
2019-08-07T09:59:36.8362030Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8362059Z 
2019-08-07T09:59:36.8362100Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8362406Z    |
2019-08-07T09:59:36.8362406Z    |
2019-08-07T09:59:36.8362443Z LL | / impl<T> Bar for T {
2019-08-07T09:59:36.8362480Z LL | |     type T = u8;
2019-08-07T09:59:36.8362533Z LL | | }
2019-08-07T09:59:36.8362727Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8362768Z ...
2019-08-07T09:59:36.8362819Z LL |       type T = (); //~ ERROR E0520
2019-08-07T09:59:36.8362872Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-07T09:59:36.8362908Z    |
2019-08-07T09:59:36.8362947Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8362985Z 
2019-08-07T09:59:36.8363032Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8363337Z    |
2019-08-07T09:59:36.8363337Z    |
2019-08-07T09:59:36.8363374Z LL | / impl<T: Clone> Baz for T {
2019-08-07T09:59:36.8363411Z LL | |     fn baz(&self) {}
2019-08-07T09:59:36.8363466Z LL | | }
2019-08-07T09:59:36.8363657Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8363699Z ...
2019-08-07T09:59:36.8363736Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8363795Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-07T09:59:36.8363832Z    |
2019-08-07T09:59:36.8363871Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8363927Z 
2019-08-07T09:59:36.8363970Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-07T09:59:36.8364278Z    |
2019-08-07T09:59:36.8364278Z    |
2019-08-07T09:59:36.8364318Z LL | / impl<T: Clone> Redundant for T {
2019-08-07T09:59:36.8364356Z LL | |     fn redundant(&self) {}
2019-08-07T09:59:36.8364392Z LL | | }
2019-08-07T09:59:36.8364602Z    | |_- parent `impl` is here
2019-08-07T09:59:36.8364644Z ...
2019-08-07T09:59:36.8364681Z LL |       default fn redundant(&self) {} //~ ERROR E0520
2019-08-07T09:59:36.8364745Z    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-07T09:59:36.8364784Z    |
2019-08-07T09:59:36.8364824Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-07T09:59:36.8364903Z error: aborting due to 5 previous errors
2019-08-07T09:59:36.8364938Z 
2019-08-07T09:59:36.8365166Z For more information about this error, try `rustc --explain E0520`.
2019-08-07T09:59:36.8365198Z 
---
2019-08-07T09:59:36.8370769Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-08-07T09:59:36.8370847Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-08-07T09:59:36.8375227Z 
2019-08-07T09:59:36.8375804Z 
2019-08-07T09:59:36.8377451Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-08-07T09:59:36.8379068Z 
2019-08-07T09:59:36.8379130Z 
2019-08-07T09:59:36.8379183Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-08-07T09:59:36.8379236Z Build completed unsuccessfully in 1:05:26
2019-08-07T09:59:36.8379236Z Build completed unsuccessfully in 1:05:26
2019-08-07T09:59:37.5843601Z ##[error]Bash exited with code '1'.
2019-08-07T09:59:37.5900703Z ##[section]Starting: Checkout
2019-08-07T09:59:37.5902814Z ==============================================================================
2019-08-07T09:59:37.5902881Z Task         : Get sources
2019-08-07T09:59:37.5902927Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@sd234678
Copy link
Contributor Author

sd234678 commented Aug 7, 2019

Hmm, I'm not really sure what's causing the errors here. The only diff from master for the file with problems is comment removal.

@bors
Copy link
Contributor

bors commented Aug 7, 2019

☔ The latest upstream changes (presumably #60547) made this pull request unmergeable. Please resolve the merge conflicts.

Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I'm conflicted about removing some of these section comments; they seem useful and I use them myself from time to time (with // =====). In other words, I basically agree with @petrochenkov. That said, perhaps the better thing to do here is to look for opportunities to split modules. I would look for the largest sections which fit as a coherent unit and split those out.

src/grammar/parser-lalr.y Outdated Show resolved Hide resolved
src/test/pretty/stmt_expr_attributes.rs Outdated Show resolved Hide resolved
src/libcore/hash/mod.rs Outdated Show resolved Hide resolved
@petrochenkov
Copy link
Contributor

Further to this, if code within a file is in so many distinct parts that it needs partitioning, perhaps it shouldn't be in the same module?

No, not at all, the sections may be small and contain just several logically related methods.
This is really a matter of personal taste.

@petrochenkov
Copy link
Contributor

Please, keep the highlighting in librustc_privacy/lib.rs (in some form) and don't split it into modules, otherwise I don't care much.

@Centril
Copy link
Contributor

Centril commented Aug 8, 2019

No, not at all, the sections may be small and contain just several logically related methods.
This is really a matter of personal taste.

Personally I think it largely depends on size; if a section is > 500 LOC and makes sense as a logical unit then a module is probably a good thing.

@sd234678
Copy link
Contributor Author

sd234678 commented Aug 9, 2019

I've put back the ones in librustc_privacy/lib.rs. I agree they make it more readable but feel that's probably because something needs splitting out given that it's almost 2000 LOC total. Alas, I'm not quite sure what that would be.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-08-09T14:35:27.8604426Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-08-09T14:35:27.8823544Z ##[command]git config gc.auto 0
2019-08-09T14:35:27.8900542Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-08-09T14:35:27.8957030Z ##[command]git config --get-all http.proxy
2019-08-09T14:35:27.9108124Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63347/merge:refs/remotes/pull/63347/merge
---
2019-08-09T14:36:01.7453642Z do so (now or later) by using -b with the checkout command again. Example:
2019-08-09T14:36:01.7453676Z 
2019-08-09T14:36:01.7453888Z   git checkout -b <new-branch-name>
2019-08-09T14:36:01.7453918Z 
2019-08-09T14:36:01.7453989Z HEAD is now at b1901774b Merge 2dfb04d6b59eaed23b98c14f05299ab4d0061a0a into 813a3a5d4b2be4e2101faa73a067da02a704a598
2019-08-09T14:36:01.7604110Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-08-09T14:36:01.7607507Z ==============================================================================
2019-08-09T14:36:01.7607571Z Task         : Bash
2019-08-09T14:36:01.7607639Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-08-09T15:41:11.9669493Z .................................................................................................... 1300/8853
2019-08-09T15:41:19.0290892Z .................................................................................................... 1400/8853
2019-08-09T15:41:25.7717878Z .................................................................................................... 1500/8853
2019-08-09T15:41:37.2818447Z ....................................................................................i............... 1600/8853
2019-08-09T15:41:45.4261303Z i................................................................................................... 1700/8853
2019-08-09T15:41:52.8805173Z ......................................................................iiiii......................... 1800/8853
2019-08-09T15:42:16.3404507Z .................................................................................................... 2000/8853
2019-08-09T15:42:18.9957481Z .................................................................................................... 2100/8853
2019-08-09T15:42:22.0278249Z .................................................................................................... 2200/8853
2019-08-09T15:42:30.4429327Z .................................................................................................... 2300/8853
---
2019-08-09T15:46:33.2656916Z .................................................................................................... 5200/8853
2019-08-09T15:46:45.2676904Z ..............................................................................................i..... 5300/8853
2019-08-09T15:46:54.0483240Z .................................................................................................... 5400/8853
2019-08-09T15:46:59.2866892Z .................................................................................................... 5500/8853
2019-08-09T15:47:11.7429461Z ........................................................................................ii...i..ii.. 5600/8853
2019-08-09T15:47:38.8694592Z .................................................................................................... 5800/8853
2019-08-09T15:47:44.7336590Z .................................................................................................... 5900/8853
2019-08-09T15:47:44.7336590Z .................................................................................................... 5900/8853
2019-08-09T15:47:49.6751475Z .........................................................................................i..ii...... 6000/8853
2019-08-09T15:48:22.5039174Z .................................................................................................... 6200/8853
2019-08-09T15:48:24.7167729Z ................................i................................................................... 6300/8853
2019-08-09T15:48:27.0760583Z .................................................................................................... 6400/8853
2019-08-09T15:48:29.8607162Z ....i............................................................................................... 6500/8853
2019-08-09T15:48:29.8607162Z ....i............................................................................................... 6500/8853
2019-08-09T15:48:34.9985924Z .................................................................................................... 6600/8853
2019-08-09T15:48:56.5522929Z .................................................................................................... 6700/8853
2019-08-09T15:49:16.7815653Z .................................................................................................... 6800/8853
2019-08-09T15:49:22.7961021Z ................................................FF.................................................. 6900/8853
2019-08-09T15:49:29.3339938Z ...................................................................F.FFFF........................... 7000/8853
2019-08-09T15:49:41.4431849Z .................................................................................................... 7200/8853
2019-08-09T15:49:51.4127135Z .................................................................................................... 7300/8853
2019-08-09T15:50:01.3219206Z .................................................................................................... 7400/8853
2019-08-09T15:50:12.3346108Z ................................ii......i........................................................... 7500/8853
---
2019-08-09T15:52:51.4281216Z 1 error[E0308]: mismatched types
2019-08-09T15:52:51.4281510Z -   --> $DIR/associated-type-projection-from-supertrait.rs:33:23
2019-08-09T15:52:51.4281762Z +   --> $DIR/associated-type-projection-from-supertrait.rs:27:23
2019-08-09T15:52:51.4281835Z 3    |
2019-08-09T15:52:51.4281881Z 4 LL | fn b() { dent(ModelT, Blue); }
2019-08-09T15:52:51.4281952Z 5    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4282032Z 8               found type `Blue`
2019-08-09T15:52:51.4282093Z 9 
2019-08-09T15:52:51.4282138Z 10 error[E0308]: mismatched types
2019-08-09T15:52:51.4283128Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-09T15:52:51.4283128Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-09T15:52:51.4283793Z +   --> $DIR/associated-type-projection-from-supertrait.rs:28:23
2019-08-09T15:52:51.4283883Z 12    |
2019-08-09T15:52:51.4283928Z 13 LL | fn c() { dent(ModelU, Black); }
2019-08-09T15:52:51.4283980Z 14    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4284079Z 17               found type `Black`
2019-08-09T15:52:51.4284123Z 18 
2019-08-09T15:52:51.4284166Z 19 error[E0308]: mismatched types
2019-08-09T15:52:51.4284474Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-09T15:52:51.4284474Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-09T15:52:51.4284715Z +   --> $DIR/associated-type-projection-from-supertrait.rs:32:28
2019-08-09T15:52:51.4284762Z 21    |
2019-08-09T15:52:51.4284824Z 22 LL | fn f() { ModelT.chip_paint(Blue); }
2019-08-09T15:52:51.4284879Z 23    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4284973Z 26               found type `Blue`
2019-08-09T15:52:51.4285017Z 27 
2019-08-09T15:52:51.4285070Z 28 error[E0308]: mismatched types
2019-08-09T15:52:51.4285315Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-09T15:52:51.4285315Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-09T15:52:51.4285576Z +   --> $DIR/associated-type-projection-from-supertrait.rs:33:28
2019-08-09T15:52:51.4285623Z 30    |
2019-08-09T15:52:51.4285668Z 31 LL | fn g() { ModelU.chip_paint(Black); }
2019-08-09T15:52:51.4285739Z 32    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4285912Z 
2019-08-09T15:52:51.4285959Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4286356Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-09T15:52:51.4286356Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-09T15:52:51.4286615Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4287003Z To only update this specific test, also pass `--test-args associated-type/associated-type-projection-from-supertrait.rs`
2019-08-09T15:52:51.4287088Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4287134Z status: exit code: 1
2019-08-09T15:52:51.4287134Z status: exit code: 1
2019-08-09T15:52:51.4295406Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4295969Z ------------------------------------------
2019-08-09T15:52:51.4296010Z 
2019-08-09T15:52:51.4296244Z ------------------------------------------
2019-08-09T15:52:51.4296312Z stderr:
2019-08-09T15:52:51.4296312Z stderr:
2019-08-09T15:52:51.4296528Z ------------------------------------------
2019-08-09T15:52:51.4296578Z error[E0308]: mismatched types
2019-08-09T15:52:51.4296869Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:27:23
2019-08-09T15:52:51.4296924Z    |
2019-08-09T15:52:51.4296976Z LL | fn b() { dent(ModelT, Blue); } //~ ERROR mismatched types
2019-08-09T15:52:51.4297058Z    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4297152Z    = note: expected type `Black`
2019-08-09T15:52:51.4297217Z               found type `Blue`
2019-08-09T15:52:51.4297248Z 
2019-08-09T15:52:51.4297290Z error[E0308]: mismatched types
2019-08-09T15:52:51.4297290Z error[E0308]: mismatched types
2019-08-09T15:52:51.4297566Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:28:23
2019-08-09T15:52:51.4297633Z    |
2019-08-09T15:52:51.4297823Z LL | fn c() { dent(ModelU, Black); } //~ ERROR mismatched types
2019-08-09T15:52:51.4297887Z    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4297996Z    = note: expected type `Blue`
2019-08-09T15:52:51.4298042Z               found type `Black`
2019-08-09T15:52:51.4298072Z 
2019-08-09T15:52:51.4298200Z error[E0308]: mismatched types
2019-08-09T15:52:51.4298200Z error[E0308]: mismatched types
2019-08-09T15:52:51.4298502Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:32:28
2019-08-09T15:52:51.4298562Z    |
2019-08-09T15:52:51.4298629Z LL | fn f() { ModelT.chip_paint(Blue); } //~ ERROR mismatched types
2019-08-09T15:52:51.4298685Z    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4298794Z    = note: expected type `Black`
2019-08-09T15:52:51.4298840Z               found type `Blue`
2019-08-09T15:52:51.4298870Z 
2019-08-09T15:52:51.4298920Z error[E0308]: mismatched types
2019-08-09T15:52:51.4298920Z error[E0308]: mismatched types
2019-08-09T15:52:51.4299210Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:33:28
2019-08-09T15:52:51.4306356Z    |
2019-08-09T15:52:51.4306520Z LL | fn g() { ModelU.chip_paint(Black); } //~ ERROR mismatched types
2019-08-09T15:52:51.4306610Z    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4306704Z    = note: expected type `Blue`
2019-08-09T15:52:51.4306933Z               found type `Black`
2019-08-09T15:52:51.4306968Z 
2019-08-09T15:52:51.4307014Z error: aborting due to 4 previous errors
---
2019-08-09T15:52:51.4307914Z 
2019-08-09T15:52:51.4308213Z ---- [ui] ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs stdout ----
2019-08-09T15:52:51.4308267Z diff of stderr:
2019-08-09T15:52:51.4308298Z 
2019-08-09T15:52:51.4308365Z 1 error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-09T15:52:51.4308882Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:31:10
2019-08-09T15:52:51.4308947Z 3    |
2019-08-09T15:52:51.4308947Z 3    |
2019-08-09T15:52:51.4309004Z 4 LL | fn b() { blue_car(ModelT); }
2019-08-09T15:52:51.4309056Z 5    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4309150Z 7    = note: expected type `Black`
2019-08-09T15:52:51.4309199Z 8               found type `Blue`
2019-08-09T15:52:51.4309199Z 8               found type `Blue`
2019-08-09T15:52:51.4309244Z 9 note: required by `blue_car`
2019-08-09T15:52:51.4309784Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:27:1
2019-08-09T15:52:51.4309833Z 11    |
2019-08-09T15:52:51.4309833Z 11    |
2019-08-09T15:52:51.4309879Z 12 LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-09T15:52:51.4309983Z 
2019-08-09T15:52:51.4310024Z 14 
2019-08-09T15:52:51.4310024Z 14 
2019-08-09T15:52:51.4310091Z 15 error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-09T15:52:51.4310614Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:32:10
2019-08-09T15:52:51.4310681Z 17    |
2019-08-09T15:52:51.4310681Z 17    |
2019-08-09T15:52:51.4310726Z 18 LL | fn c() { black_car(ModelU); }
2019-08-09T15:52:51.4310777Z 19    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4310871Z 21    = note: expected type `Blue`
2019-08-09T15:52:51.4310917Z 22               found type `Black`
2019-08-09T15:52:51.4310917Z 22               found type `Black`
2019-08-09T15:52:51.4310964Z 23 note: required by `black_car`
2019-08-09T15:52:51.4311624Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:24:1
2019-08-09T15:52:51.4311673Z 25    |
2019-08-09T15:52:51.4311673Z 25    |
2019-08-09T15:52:51.4311737Z 26 LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-09T15:52:51.4311821Z 
2019-08-09T15:52:51.4311847Z 
2019-08-09T15:52:51.4311902Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4312312Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-09T15:52:51.4312312Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-09T15:52:51.4312574Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4312923Z To only update this specific test, also pass `--test-args associated-types/associated-types-binding-to-type-defined-in-supertrait.rs`
2019-08-09T15:52:51.4313009Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4337475Z status: exit code: 1
2019-08-09T15:52:51.4337475Z status: exit code: 1
2019-08-09T15:52:51.4338871Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4340734Z ------------------------------------------
2019-08-09T15:52:51.4340792Z 
2019-08-09T15:52:51.4341038Z ------------------------------------------
2019-08-09T15:52:51.4341086Z stderr:
2019-08-09T15:52:51.4341086Z stderr:
2019-08-09T15:52:51.4341299Z ------------------------------------------
2019-08-09T15:52:51.4341362Z error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-09T15:52:51.4341723Z    |
2019-08-09T15:52:51.4341723Z    |
2019-08-09T15:52:51.4341782Z LL | fn b() { blue_car(ModelT); } //~ ERROR type mismatch
2019-08-09T15:52:51.4341836Z    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-09T15:52:51.4341936Z    = note: expected type `Black`
2019-08-09T15:52:51.4341983Z               found type `Blue`
2019-08-09T15:52:51.4341983Z               found type `Blue`
2019-08-09T15:52:51.4342029Z note: required by `blue_car`
2019-08-09T15:52:51.4342385Z    |
2019-08-09T15:52:51.4342385Z    |
2019-08-09T15:52:51.4342432Z LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-09T15:52:51.4342527Z 
2019-08-09T15:52:51.4342527Z 
2019-08-09T15:52:51.4342577Z error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-09T15:52:51.4342937Z    |
2019-08-09T15:52:51.4342937Z    |
2019-08-09T15:52:51.4342994Z LL | fn c() { black_car(ModelU); } //~ ERROR type mismatch
2019-08-09T15:52:51.4343047Z    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-09T15:52:51.4343813Z    = note: expected type `Blue`
2019-08-09T15:52:51.4343869Z               found type `Black`
2019-08-09T15:52:51.4343869Z               found type `Black`
2019-08-09T15:52:51.4343914Z note: required by `black_car`
2019-08-09T15:52:51.4344472Z    |
2019-08-09T15:52:51.4344472Z    |
2019-08-09T15:52:51.4344528Z LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-09T15:52:51.4344620Z 
2019-08-09T15:52:51.4344665Z error: aborting due to 2 previous errors
2019-08-09T15:52:51.4344695Z 
2019-08-09T15:52:51.4344972Z For more information about this error, try `rustc --explain E0271`.
2019-08-09T15:52:51.4344972Z For more information about this error, try `rustc --explain E0271`.
2019-08-09T15:52:51.4345008Z 
2019-08-09T15:52:51.4345220Z ------------------------------------------
2019-08-09T15:52:51.4345262Z 
2019-08-09T15:52:51.4345300Z 
2019-08-09T15:52:51.4345532Z ---- [ui] ui/hrtb/hrtb-conflate-regions.rs stdout ----
2019-08-09T15:52:51.4345582Z diff of stderr:
2019-08-09T15:52:51.4345612Z 
2019-08-09T15:52:51.4345898Z 1 error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-09T15:52:51.4346125Z -   --> $DIR/hrtb-conflate-regions.rs:28:10
2019-08-09T15:52:51.4346345Z +   --> $DIR/hrtb-conflate-regions.rs:27:10
2019-08-09T15:52:51.4346417Z 3    |
2019-08-09T15:52:51.4346464Z 4 LL | fn b() { want_foo2::<SomeStruct>(); }
2019-08-09T15:52:51.4346769Z 5    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-09T15:52:51.4346849Z 
2019-08-09T15:52:51.4346896Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4347204Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-09T15:52:51.4347204Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-09T15:52:51.4347575Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4348304Z To only update this specific test, also pass `--test-args hrtb/hrtb-conflate-regions.rs`
2019-08-09T15:52:51.4348378Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4348428Z status: exit code: 1
2019-08-09T15:52:51.4348428Z status: exit code: 1
2019-08-09T15:52:51.4349108Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/hrtb/hrtb-conflate-regions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4349414Z ------------------------------------------
2019-08-09T15:52:51.4349446Z 
2019-08-09T15:52:51.4349802Z ------------------------------------------
2019-08-09T15:52:51.4349858Z stderr:
2019-08-09T15:52:51.4349858Z stderr:
2019-08-09T15:52:51.4350216Z ------------------------------------------
2019-08-09T15:52:51.4350641Z error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-09T15:52:51.4350944Z    |
2019-08-09T15:52:51.4350944Z    |
2019-08-09T15:52:51.4350987Z LL | fn b() { want_foo2::<SomeStruct>(); } //~ ERROR
2019-08-09T15:52:51.4351467Z    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-09T15:52:51.4351562Z    = help: the following implementations were found:
2019-08-09T15:52:51.4351562Z    = help: the following implementations were found:
2019-08-09T15:52:51.4351794Z              <SomeStruct as Foo<(&'a isize, &'a isize)>>
2019-08-09T15:52:51.4351852Z note: required by `want_foo2`
2019-08-09T15:52:51.4352127Z    |
2019-08-09T15:52:51.4352127Z    |
2019-08-09T15:52:51.4352180Z LL | / fn want_foo2<T>()
2019-08-09T15:52:51.4352580Z LL | |     where T : for<'a,'b> Foo<(&'a isize, &'b isize)>
2019-08-09T15:52:51.4352631Z LL | | {
2019-08-09T15:52:51.4352726Z    | |_^
2019-08-09T15:52:51.4352753Z 
2019-08-09T15:52:51.4352797Z error: aborting due to previous error
2019-08-09T15:52:51.4352918Z 
---
2019-08-09T15:52:51.4354566Z diff of stderr:
2019-08-09T15:52:51.4354609Z 
2019-08-09T15:52:51.4354667Z 7    = note: `#[warn(incomplete_features)]` on by default
2019-08-09T15:52:51.4354711Z 8 
2019-08-09T15:52:51.4354765Z 9 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-09T15:52:51.4355234Z +   --> $DIR/bound-normalization-fail.rs:28:32
2019-08-09T15:52:51.4355280Z 11    |
2019-08-09T15:52:51.4355280Z 11    |
2019-08-09T15:52:51.4355872Z 12 LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-09T15:52:51.4355949Z 13    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-09T15:52:51.4355985Z 
2019-08-09T15:52:51.4356044Z 17    = note: the return type of a function must have a statically known size
2019-08-09T15:52:51.4356091Z 18 
2019-08-09T15:52:51.4356421Z 19 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-09T15:52:51.4357037Z +   --> $DIR/bound-normalization-fail.rs:44:41
2019-08-09T15:52:51.4357403Z 21    |
2019-08-09T15:52:51.4357403Z 21    |
2019-08-09T15:52:51.4359984Z 22 LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-09T15:52:51.4360094Z 23    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-09T15:52:51.4360160Z 
2019-08-09T15:52:51.4360222Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4360661Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-09T15:52:51.4360661Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-09T15:52:51.4360986Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4361286Z To only update this specific test, also pass `--test-args impl-trait/bound-normalization-fail.rs`
2019-08-09T15:52:51.4361370Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4361439Z status: exit code: 1
2019-08-09T15:52:51.4361439Z status: exit code: 1
2019-08-09T15:52:51.4362305Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/impl-trait/bound-normalization-fail.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4362644Z ------------------------------------------
2019-08-09T15:52:51.4362680Z 
2019-08-09T15:52:51.4362909Z ------------------------------------------
2019-08-09T15:52:51.4362955Z stderr:
---
2019-08-09T15:52:51.4364108Z    |            ^^^^^^^^^^^^^^^^^^^^^^
2019-08-09T15:52:51.4364382Z    |
2019-08-09T15:52:51.4364448Z    = note: `#[warn(incomplete_features)]` on by default
2019-08-09T15:52:51.4364502Z 
2019-08-09T15:52:51.4365493Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-09T15:52:51.4366010Z    |
2019-08-09T15:52:51.4366010Z    |
2019-08-09T15:52:51.4366250Z LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-09T15:52:51.4366310Z    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-09T15:52:51.4366432Z    = note: expected type `()`
2019-08-09T15:52:51.4366432Z    = note: expected type `()`
2019-08-09T15:52:51.4366482Z               found type `<T as impl_trait::Trait>::Assoc`
2019-08-09T15:52:51.4366535Z    = note: the return type of a function must have a statically known size
2019-08-09T15:52:51.4366583Z 
2019-08-09T15:52:51.4366869Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-09T15:52:51.4367197Z    |
2019-08-09T15:52:51.4367197Z    |
2019-08-09T15:52:51.4367445Z LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-09T15:52:51.4367507Z    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-09T15:52:51.4367614Z    = note: expected type `()`
2019-08-09T15:52:51.4367614Z    = note: expected type `()`
2019-08-09T15:52:51.4367851Z               found type `<T as lifetimes::Trait<'static>>::Assoc`
2019-08-09T15:52:51.4368027Z    = note: the return type of a function must have a statically known size
2019-08-09T15:52:51.4368106Z error: aborting due to 2 previous errors
2019-08-09T15:52:51.4368136Z 
2019-08-09T15:52:51.4368415Z For more information about this error, try `rustc --explain E0271`.
2019-08-09T15:52:51.4368452Z 
2019-08-09T15:52:51.4368452Z 
2019-08-09T15:52:51.4368668Z ------------------------------------------
2019-08-09T15:52:51.4368701Z 
2019-08-09T15:52:51.4368728Z 
2019-08-09T15:52:51.4368970Z ---- [ui] ui/issues/issue-12028.rs stdout ----
2019-08-09T15:52:51.4369019Z diff of stderr:
2019-08-09T15:52:51.4369049Z 
2019-08-09T15:52:51.4369101Z 1 error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-09T15:52:51.4369339Z -   --> $DIR/issue-12028.rs:29:14
2019-08-09T15:52:51.4369550Z +   --> $DIR/issue-12028.rs:27:14
2019-08-09T15:52:51.4369659Z 4 LL |         self.input_stream(&mut stream);
2019-08-09T15:52:51.4369715Z 5    |              ^^^^^^^^^^^^
2019-08-09T15:52:51.4369746Z 
2019-08-09T15:52:51.4369772Z 
2019-08-09T15:52:51.4369772Z 
2019-08-09T15:52:51.4369832Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4370127Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/issue-12028.stderr
2019-08-09T15:52:51.4370458Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4375093Z To only update this specific test, also pass `--test-args issues/issue-12028.rs`
2019-08-09T15:52:51.4375203Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4375248Z status: exit code: 1
2019-08-09T15:52:51.4375248Z status: exit code: 1
2019-08-09T15:52:51.4376318Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/issues/issue-12028.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4376689Z ------------------------------------------
2019-08-09T15:52:51.4376726Z 
2019-08-09T15:52:51.4376946Z ------------------------------------------
2019-08-09T15:52:51.4377071Z stderr:
2019-08-09T15:52:51.4377071Z stderr:
2019-08-09T15:52:51.4377427Z ------------------------------------------
2019-08-09T15:52:51.4377499Z error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-09T15:52:51.4377787Z   --> /checkout/src/test/ui/issues/issue-12028.rs:27:14
2019-08-09T15:52:51.4377841Z    |
2019-08-09T15:52:51.4377891Z LL |         self.input_stream(&mut stream); //~ ERROR type annotations required
2019-08-09T15:52:51.4378000Z 
2019-08-09T15:52:51.4378044Z error: aborting due to previous error
2019-08-09T15:52:51.4378074Z 
2019-08-09T15:52:51.4378330Z For more information about this error, try `rustc --explain E0284`.
2019-08-09T15:52:51.4378330Z For more information about this error, try `rustc --explain E0284`.
2019-08-09T15:52:51.4378366Z 
2019-08-09T15:52:51.4378578Z ------------------------------------------
2019-08-09T15:52:51.4378610Z 
2019-08-09T15:52:51.4378653Z 
2019-08-09T15:52:51.4380465Z ---- [ui] ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs#migrate stdout ----
2019-08-09T15:52:51.4380532Z diff of stderr:
2019-08-09T15:52:51.4380573Z 
2019-08-09T15:52:51.4380881Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4381707Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-09T15:52:51.4381769Z 3    |
2019-08-09T15:52:51.4381769Z 3    |
2019-08-09T15:52:51.4381997Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4382220Z 
2019-08-09T15:52:51.4382280Z 6    |
2019-08-09T15:52:51.4382280Z 6    |
2019-08-09T15:52:51.4382849Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 37:15
2019-08-09T15:52:51.4383434Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:15
2019-08-09T15:52:51.4383867Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-09T15:52:51.4384131Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:15
2019-08-09T15:52:51.4384180Z 9    |
2019-08-09T15:52:51.4384408Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4384488Z 
2019-08-09T15:52:51.4384488Z 
2019-08-09T15:52:51.4384763Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 37:18
2019-08-09T15:52:51.4385041Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:18
2019-08-09T15:52:51.4385332Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-09T15:52:51.4385583Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:18
2019-08-09T15:52:51.4385650Z 14    |
2019-08-09T15:52:51.4385854Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4385948Z 
2019-08-09T15:52:51.4385975Z 
2019-08-09T15:52:51.4386022Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4386022Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4386415Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/regions-assoc-type-in-supertrait-outlives-container.migrate.stderr
2019-08-09T15:52:51.4386699Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4387000Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-09T15:52:51.4387063Z 
2019-08-09T15:52:51.4387112Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4387160Z status: exit code: 1
2019-08-09T15:52:51.4388136Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4388505Z ------------------------------------------
2019-08-09T15:52:51.4388551Z 
2019-08-09T15:52:51.4388769Z ------------------------------------------
2019-08-09T15:52:51.4388817Z stderr:
2019-08-09T15:52:51.4388817Z stderr:
2019-08-09T15:52:51.4389042Z ------------------------------------------
2019-08-09T15:52:51.4390646Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4391030Z    |
2019-08-09T15:52:51.4391030Z    |
2019-08-09T15:52:51.4391271Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4391384Z    |
2019-08-09T15:52:51.4391384Z    |
2019-08-09T15:52:51.4391645Z note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-09T15:52:51.4392035Z    |
2019-08-09T15:52:51.4392035Z    |
2019-08-09T15:52:51.4392234Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4392420Z    |               ^^
2019-08-09T15:52:51.4392734Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-09T15:52:51.4393058Z    |
2019-08-09T15:52:51.4393058Z    |
2019-08-09T15:52:51.4394018Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4394114Z 
2019-08-09T15:52:51.4394170Z error: aborting due to previous error
2019-08-09T15:52:51.4394218Z 
2019-08-09T15:52:51.4394472Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-09T15:52:51.4395206Z 1 error: lifetime may not live long enough
2019-08-09T15:52:51.4395454Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:43:12
2019-08-09T15:52:51.4395701Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-09T15:52:51.4395769Z 3    |
2019-08-09T15:52:51.4395974Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4396202Z 5    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4396289Z 
2019-08-09T15:52:51.4396336Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4396336Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4396713Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/regions-assoc-type-in-supertrait-outlives-container.nll.stderr
2019-08-09T15:52:51.4396993Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4397593Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-09T15:52:51.4397669Z 
2019-08-09T15:52:51.4397718Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4397764Z status: exit code: 1
2019-08-09T15:52:51.4398779Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4399387Z ------------------------------------------
2019-08-09T15:52:51.4399423Z 
2019-08-09T15:52:51.4399634Z ------------------------------------------
2019-08-09T15:52:51.4399678Z stderr:
2019-08-09T15:52:51.4399678Z stderr:
2019-08-09T15:52:51.4399900Z ------------------------------------------
2019-08-09T15:52:51.4399949Z error: lifetime may not live long enough
2019-08-09T15:52:51.4400367Z   --> /checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-09T15:52:51.4400433Z    |
2019-08-09T15:52:51.4400633Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4400993Z    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4401249Z    |               lifetime `'a` defined here
2019-08-09T15:52:51.4401292Z ...
2019-08-09T15:52:51.4401292Z ...
2019-08-09T15:52:51.4401511Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4401907Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-09T15:52:51.4402238Z error: aborting due to previous error
2019-08-09T15:52:51.4402283Z 
2019-08-09T15:52:51.4402306Z 
2019-08-09T15:52:51.4402516Z ------------------------------------------
2019-08-09T15:52:51.4402516Z ------------------------------------------
2019-08-09T15:52:51.4402545Z 
2019-08-09T15:52:51.4402569Z 
2019-08-09T15:52:51.4403820Z ---- [ui] ui/regions/regions-outlives-projection-container-hrtb.rs#migrate stdout ----
2019-08-09T15:52:51.4403883Z diff of stderr:
2019-08-09T15:52:51.4403914Z 
2019-08-09T15:52:51.4404270Z 1 error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4404760Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-09T15:52:51.4404826Z 3    |
2019-08-09T15:52:51.4404826Z 3    |
2019-08-09T15:52:51.4405056Z 4 LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4405149Z 
2019-08-09T15:52:51.4405206Z 6    |
2019-08-09T15:52:51.4405206Z 6    |
2019-08-09T15:52:51.4405469Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-09T15:52:51.4405711Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:15
2019-08-09T15:52:51.4405989Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-09T15:52:51.4406234Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:15
2019-08-09T15:52:51.4406282Z 9    |
2019-08-09T15:52:51.4406509Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4406588Z 
2019-08-09T15:52:51.4406588Z 
2019-08-09T15:52:51.4406864Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-09T15:52:51.4407123Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:18
2019-08-09T15:52:51.4407400Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-09T15:52:51.4407810Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:18
2019-08-09T15:52:51.4407874Z 14    |
2019-08-09T15:52:51.4408223Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4408313Z 
2019-08-09T15:52:51.4408351Z 17 
2019-08-09T15:52:51.4408351Z 17 
2019-08-09T15:52:51.4408624Z 18 error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4409775Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-09T15:52:51.4409994Z 20    |
2019-08-09T15:52:51.4409994Z 20    |
2019-08-09T15:52:51.4410226Z 21 LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-09T15:52:51.4410329Z 
2019-08-09T15:52:51.4410369Z 23    |
2019-08-09T15:52:51.4410369Z 23    |
2019-08-09T15:52:51.4410627Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 53:19
2019-08-09T15:52:51.4410898Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:19
2019-08-09T15:52:51.4411163Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-09T15:52:51.4411422Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:19
2019-08-09T15:52:51.4411470Z 26    |
2019-08-09T15:52:51.4411676Z 27 LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4411771Z 
2019-08-09T15:52:51.4411771Z 
2019-08-09T15:52:51.4412054Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 53:22
2019-08-09T15:52:51.4412298Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:22
2019-08-09T15:52:51.4412740Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-09T15:52:51.4412975Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:22
2019-08-09T15:52:51.4413785Z 31    |
2019-08-09T15:52:51.4414079Z 32 LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4414161Z 
2019-08-09T15:52:51.4414188Z 
2019-08-09T15:52:51.4414249Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4414249Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4414617Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/regions-outlives-projection-container-hrtb.migrate.stderr
2019-08-09T15:52:51.4414884Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4415191Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-09T15:52:51.4415230Z 
2019-08-09T15:52:51.4415276Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4415340Z status: exit code: 1
2019-08-09T15:52:51.4416178Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4416523Z ------------------------------------------
2019-08-09T15:52:51.4416558Z 
2019-08-09T15:52:51.4416787Z ------------------------------------------
2019-08-09T15:52:51.4416835Z stderr:
2019-08-09T15:52:51.4416835Z stderr:
2019-08-09T15:52:51.4417188Z ------------------------------------------
2019-08-09T15:52:51.4417444Z error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4417763Z    |
2019-08-09T15:52:51.4417763Z    |
2019-08-09T15:52:51.4418295Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4418377Z    |
2019-08-09T15:52:51.4418377Z    |
2019-08-09T15:52:51.4418771Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-09T15:52:51.4419146Z    |
2019-08-09T15:52:51.4419146Z    |
2019-08-09T15:52:51.4419511Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4419571Z    |               ^^
2019-08-09T15:52:51.4419998Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-09T15:52:51.4420522Z    |
2019-08-09T15:52:51.4420522Z    |
2019-08-09T15:52:51.4420878Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4420951Z 
2019-08-09T15:52:51.4420951Z 
2019-08-09T15:52:51.4422023Z error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4422356Z    |
2019-08-09T15:52:51.4422356Z    |
2019-08-09T15:52:51.4422615Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-09T15:52:51.4422714Z    |
2019-08-09T15:52:51.4422714Z    |
2019-08-09T15:52:51.4422989Z note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-09T15:52:51.4423721Z    |
2019-08-09T15:52:51.4423721Z    |
2019-08-09T15:52:51.4423951Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4424118Z    |                   ^^
2019-08-09T15:52:51.4424415Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-09T15:52:51.4424746Z    |
2019-08-09T15:52:51.4424746Z    |
2019-08-09T15:52:51.4424949Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4425044Z 
2019-08-09T15:52:51.4425088Z error: aborting due to 2 previous errors
2019-08-09T15:52:51.4425127Z 
2019-08-09T15:52:51.4426324Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-09T15:52:51.4427214Z 1 error: lifetime may not live long enough
2019-08-09T15:52:51.4427476Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:35:12
2019-08-09T15:52:51.4427717Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-09T15:52:51.4427765Z 3    |
2019-08-09T15:52:51.4427987Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4428216Z 5    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4428542Z 10    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-09T15:52:51.4428595Z 11 
2019-08-09T15:52:51.4428642Z 12 error: lifetime may not live long enough
2019-08-09T15:52:51.4428884Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-09T15:52:51.4428884Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-09T15:52:51.4429144Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-09T15:52:51.4429192Z 14    |
2019-08-09T15:52:51.4429398Z 15 LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4429647Z 16    |                   -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4429717Z 
2019-08-09T15:52:51.4429763Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4429763Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4430138Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/regions-outlives-projection-container-hrtb.nll.stderr
2019-08-09T15:52:51.4430395Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4430830Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-09T15:52:51.4430880Z 
2019-08-09T15:52:51.4430927Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4430973Z status: exit code: 1
2019-08-09T15:52:51.4431849Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4432209Z ------------------------------------------
2019-08-09T15:52:51.4432244Z 
2019-08-09T15:52:51.4432460Z ------------------------------------------
2019-08-09T15:52:51.4432525Z stderr:
2019-08-09T15:52:51.4432525Z stderr:
2019-08-09T15:52:51.4432739Z ------------------------------------------
2019-08-09T15:52:51.4432789Z error: lifetime may not live long enough
2019-08-09T15:52:51.4433063Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-09T15:52:51.4433560Z    |
2019-08-09T15:52:51.4433840Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4434086Z    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4434350Z    |               lifetime `'a` defined here
2019-08-09T15:52:51.4434411Z ...
2019-08-09T15:52:51.4434411Z ...
2019-08-09T15:52:51.4434637Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4434905Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-09T15:52:51.4435016Z error: lifetime may not live long enough
2019-08-09T15:52:51.4435280Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-09T15:52:51.4435330Z    |
2019-08-09T15:52:51.4435330Z    |
2019-08-09T15:52:51.4435551Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-09T15:52:51.4435777Z    |                   -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4436061Z    |                   lifetime `'a` defined here
2019-08-09T15:52:51.4436117Z ...
2019-08-09T15:52:51.4436117Z ...
2019-08-09T15:52:51.4436348Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-09T15:52:51.4436638Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-09T15:52:51.4436721Z error: aborting due to 2 previous errors
2019-08-09T15:52:51.4436750Z 
2019-08-09T15:52:51.4436988Z 
2019-08-09T15:52:51.4437838Z ------------------------------------------
2019-08-09T15:52:51.4437838Z ------------------------------------------
2019-08-09T15:52:51.4437887Z 
2019-08-09T15:52:51.4437913Z 
2019-08-09T15:52:51.4438171Z ---- [ui] ui/regions/regions-outlives-projection-container-wc.rs#migrate stdout ----
2019-08-09T15:52:51.4438239Z diff of stderr:
2019-08-09T15:52:51.4438268Z 
2019-08-09T15:52:51.4438553Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4439432Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-09T15:52:51.4439482Z 3    |
2019-08-09T15:52:51.4439482Z 3    |
2019-08-09T15:52:51.4439724Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4439808Z 
2019-08-09T15:52:51.4439848Z 6    |
2019-08-09T15:52:51.4439848Z 6    |
2019-08-09T15:52:51.4440125Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 31:15
2019-08-09T15:52:51.4440367Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:15
2019-08-09T15:52:51.4440749Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-09T15:52:51.4441094Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:15
2019-08-09T15:52:51.4441142Z 9    |
2019-08-09T15:52:51.4441345Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4441441Z 
2019-08-09T15:52:51.4441441Z 
2019-08-09T15:52:51.4442497Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 31:18
2019-08-09T15:52:51.4442773Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:18
2019-08-09T15:52:51.4443076Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-09T15:52:51.4443619Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:18
2019-08-09T15:52:51.4443677Z 14    |
2019-08-09T15:52:51.4443907Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4444276Z 
2019-08-09T15:52:51.4444330Z 
2019-08-09T15:52:51.4444397Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4444397Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4444826Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/regions-outlives-projection-container-wc.migrate.stderr
2019-08-09T15:52:51.4445085Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4445395Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-09T15:52:51.4445576Z 
2019-08-09T15:52:51.4445623Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4445689Z status: exit code: 1
2019-08-09T15:52:51.4446569Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4446913Z ------------------------------------------
2019-08-09T15:52:51.4446948Z 
2019-08-09T15:52:51.4447399Z ------------------------------------------
2019-08-09T15:52:51.4447444Z stderr:
2019-08-09T15:52:51.4447444Z stderr:
2019-08-09T15:52:51.4447645Z ------------------------------------------
2019-08-09T15:52:51.4448109Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4448442Z    |
2019-08-09T15:52:51.4448442Z    |
2019-08-09T15:52:51.4448680Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4448776Z    |
2019-08-09T15:52:51.4448776Z    |
2019-08-09T15:52:51.4449050Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-09T15:52:51.4449365Z    |
2019-08-09T15:52:51.4449365Z    |
2019-08-09T15:52:51.4449590Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4449639Z    |               ^^
2019-08-09T15:52:51.4449912Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-09T15:52:51.4450241Z    |
2019-08-09T15:52:51.4450241Z    |
2019-08-09T15:52:51.4450440Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4450535Z 
2019-08-09T15:52:51.4450655Z error: aborting due to previous error
2019-08-09T15:52:51.4450691Z 
2019-08-09T15:52:51.4450948Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-09T15:52:51.4451666Z 1 error: lifetime may not live long enough
2019-08-09T15:52:51.4452459Z -   --> $DIR/regions-outlives-projection-container-wc.rs:37:12
2019-08-09T15:52:51.4452717Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-09T15:52:51.4452765Z 3    |
2019-08-09T15:52:51.4452983Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4453587Z 5    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4453660Z 
2019-08-09T15:52:51.4453741Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4453741Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4454114Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/regions-outlives-projection-container-wc.nll.stderr
2019-08-09T15:52:51.4454370Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4454680Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-09T15:52:51.4454849Z 
2019-08-09T15:52:51.4454897Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-09T15:52:51.4454962Z status: exit code: 1
2019-08-09T15:52:51.4455821Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4456155Z ------------------------------------------
2019-08-09T15:52:51.4456200Z 
2019-08-09T15:52:51.4456432Z ------------------------------------------
2019-08-09T15:52:51.4456479Z stderr:
2019-08-09T15:52:51.4456479Z stderr:
2019-08-09T15:52:51.4456690Z ------------------------------------------
2019-08-09T15:52:51.4456740Z error: lifetime may not live long enough
2019-08-09T15:52:51.4457015Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs:33:12
2019-08-09T15:52:51.4457067Z    |
2019-08-09T15:52:51.4457270Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4457523Z    |               -- -- lifetime `'b` defined here
2019-08-09T15:52:51.4457793Z    |               lifetime `'a` defined here
2019-08-09T15:52:51.4457857Z ...
2019-08-09T15:52:51.4457857Z ...
2019-08-09T15:52:51.4458081Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4458347Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-09T15:52:51.4458447Z error: aborting due to previous error
2019-08-09T15:52:51.4458485Z 
2019-08-09T15:52:51.4458512Z 
2019-08-09T15:52:51.4458723Z ------------------------------------------
2019-08-09T15:52:51.4458723Z ------------------------------------------
2019-08-09T15:52:51.4458770Z 
2019-08-09T15:52:51.4458797Z 
2019-08-09T15:52:51.4459037Z ---- [ui] ui/regions/regions-outlives-projection-container.rs stdout ----
2019-08-09T15:52:51.4459088Z diff of stderr:
2019-08-09T15:52:51.4459133Z 
2019-08-09T15:52:51.4459947Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4460728Z +   --> $DIR/regions-outlives-projection-container.rs:36:13
2019-08-09T15:52:51.4460775Z 3    |
2019-08-09T15:52:51.4460775Z 3    |
2019-08-09T15:52:51.4461152Z 4 LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4461428Z 
2019-08-09T15:52:51.4461466Z 6    |
2019-08-09T15:52:51.4461466Z 6    |
2019-08-09T15:52:51.4461916Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-09T15:52:51.4462174Z -   --> $DIR/regions-outlives-projection-container.rs:32:15
2019-08-09T15:52:51.4462418Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-09T15:52:51.4462636Z +   --> $DIR/regions-outlives-projection-container.rs:28:15
2019-08-09T15:52:51.4462695Z 9    |
2019-08-09T15:52:51.4462889Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4462986Z 
2019-08-09T15:52:51.4462986Z 
2019-08-09T15:52:51.4463876Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-09T15:52:51.4464125Z -   --> $DIR/regions-outlives-projection-container.rs:32:18
2019-08-09T15:52:51.4464423Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-09T15:52:51.4464664Z +   --> $DIR/regions-outlives-projection-container.rs:28:18
2019-08-09T15:52:51.4464822Z 14    |
2019-08-09T15:52:51.4465044Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4465143Z 
2019-08-09T15:52:51.4465182Z 17 
2019-08-09T15:52:51.4465182Z 17 
2019-08-09T15:52:51.4465487Z 18 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4465960Z +   --> $DIR/regions-outlives-projection-container.rs:54:13
2019-08-09T15:52:51.4466033Z 20    |
2019-08-09T15:52:51.4466033Z 20    |
2019-08-09T15:52:51.4466269Z 21 LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4466354Z 
2019-08-09T15:52:51.4466412Z 23    |
2019-08-09T15:52:51.4466412Z 23    |
2019-08-09T15:52:51.4466671Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 54:18
2019-08-09T15:52:51.4466908Z -   --> $DIR/regions-outlives-projection-container.rs:54:18
2019-08-09T15:52:51.4467198Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-09T15:52:51.4467436Z +   --> $DIR/regions-outlives-projection-container.rs:50:18
2019-08-09T15:52:51.4467483Z 26    |
2019-08-09T15:52:51.4467768Z 27 LL | fn without_assoc<'a,'b>() {
2019-08-09T15:52:51.4467848Z 
2019-08-09T15:52:51.4467848Z 
2019-08-09T15:52:51.4468269Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 54:21
2019-08-09T15:52:51.4468523Z -   --> $DIR/regions-outlives-projection-container.rs:54:21
2019-08-09T15:52:51.4468795Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-09T15:52:51.4469028Z +   --> $DIR/regions-outlives-projection-container.rs:50:21
2019-08-09T15:52:51.4469090Z 31    |
2019-08-09T15:52:51.4469288Z 32 LL | fn without_assoc<'a,'b>() {
2019-08-09T15:52:51.4469519Z 
2019-08-09T15:52:51.4469756Z 34 
2019-08-09T15:52:51.4469756Z 34 
2019-08-09T15:52:51.4470032Z 35 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4470686Z +   --> $DIR/regions-outlives-projection-container.rs:63:12
2019-08-09T15:52:51.4470734Z 37    |
2019-08-09T15:52:51.4470734Z 37    |
2019-08-09T15:52:51.4470952Z 38 LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-09T15:52:51.4471128Z 
2019-08-09T15:52:51.4471175Z 40    |
2019-08-09T15:52:51.4471175Z 40    |
2019-08-09T15:52:51.4471454Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 62:20
2019-08-09T15:52:51.4471710Z -   --> $DIR/regions-outlives-projection-container.rs:62:20
2019-08-09T15:52:51.4471972Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-09T15:52:51.4472208Z +   --> $DIR/regions-outlives-projection-container.rs:58:20
2019-08-09T15:52:51.4472283Z 43    |
2019-08-09T15:52:51.4472492Z 44 LL | fn call_with_assoc<'a,'b>() {
2019-08-09T15:52:51.4472588Z 
2019-08-09T15:52:51.4472588Z 
2019-08-09T15:52:51.4472863Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 62:23
2019-08-09T15:52:51.4473100Z -   --> $DIR/regions-outlives-projection-container.rs:62:23
2019-08-09T15:52:51.4473765Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-09T15:52:51.4474019Z +   --> $DIR/regions-outlives-projection-container.rs:58:23
2019-08-09T15:52:51.4474068Z 48    |
2019-08-09T15:52:51.4474274Z 49 LL | fn call_with_assoc<'a,'b>() {
2019-08-09T15:52:51.4474371Z 
2019-08-09T15:52:51.4474411Z 51 
2019-08-09T15:52:51.4474411Z 51 
2019-08-09T15:52:51.4474716Z 52 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4475322Z +   --> $DIR/regions-outlives-projection-container.rs:70:12
2019-08-09T15:52:51.4475389Z 54    |
2019-08-09T15:52:51.4475389Z 54    |
2019-08-09T15:52:51.4475613Z 55 LL |     call::<&'a WithoutAssoc<TheType<'b>>>();
2019-08-09T15:52:51.4475697Z 
2019-08-09T15:52:51.4475754Z 57    |
2019-08-09T15:52:51.4475754Z 57    |
2019-08-09T15:52:51.4476023Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 71:23
2019-08-09T15:52:51.4476262Z -   --> $DIR/regions-outlives-projection-container.rs:71:23
2019-08-09T15:52:51.4476541Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-09T15:52:51.4476779Z +   --> $DIR/regions-outlives-projection-container.rs:67:23
2019-08-09T15:52:51.4477040Z 60    |
2019-08-09T15:52:51.4477658Z 61 LL | fn call_without_assoc<'a,'b>() {
2019-08-09T15:52:51.4477749Z 
2019-08-09T15:52:51.4477749Z 
2019-08-09T15:52:51.4478197Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 71:26
2019-08-09T15:52:51.4478453Z -   --> $DIR/regions-outlives-projection-container.rs:71:26
2019-08-09T15:52:51.4478733Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-09T15:52:51.4478970Z +   --> $DIR/regions-outlives-projection-container.rs:67:26
2019-08-09T15:52:51.4479036Z 65    |
2019-08-09T15:52:51.4479258Z 66 LL | fn call_without_assoc<'a,'b>() {
2019-08-09T15:52:51.4479359Z 
2019-08-09T15:52:51.4479387Z 
2019-08-09T15:52:51.4479431Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4480720Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-09T15:52:51.4480720Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-09T15:52:51.4481026Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4481828Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container.rs`
2019-08-09T15:52:51.4481944Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4481989Z status: exit code: 1
2019-08-09T15:52:51.4481989Z status: exit code: 1
2019-08-09T15:52:51.4482934Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4483625Z ------------------------------------------
2019-08-09T15:52:51.4483694Z 
2019-08-09T15:52:51.4483923Z ------------------------------------------
2019-08-09T15:52:51.4483969Z stderr:
2019-08-09T15:52:51.4483969Z stderr:
2019-08-09T15:52:51.4484194Z ------------------------------------------
2019-08-09T15:52:51.4484483Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4484830Z    |
2019-08-09T15:52:51.4484830Z    |
2019-08-09T15:52:51.4485060Z LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4485170Z    |
2019-08-09T15:52:51.4485170Z    |
2019-08-09T15:52:51.4485428Z note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-09T15:52:51.4485877Z    |
2019-08-09T15:52:51.4485877Z    |
2019-08-09T15:52:51.4486100Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4486148Z    |               ^^
2019-08-09T15:52:51.4486423Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-09T15:52:51.4486904Z    |
2019-08-09T15:52:51.4486904Z    |
2019-08-09T15:52:51.4487242Z LL | fn with_assoc<'a,'b>() {
2019-08-09T15:52:51.4487338Z 
2019-08-09T15:52:51.4487338Z 
2019-08-09T15:52:51.4487903Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4488185Z    |
2019-08-09T15:52:51.4488185Z    |
2019-08-09T15:52:51.4488375Z LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-09T15:52:51.4488477Z    |
2019-08-09T15:52:51.4488477Z    |
2019-08-09T15:52:51.4488697Z note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-09T15:52:51.4489145Z    |
2019-08-09T15:52:51.4489145Z    |
2019-08-09T15:52:51.4489505Z LL | fn without_assoc<'a,'b>() {
2019-08-09T15:52:51.4489549Z    |                  ^^
2019-08-09T15:52:51.4489982Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-09T15:52:51.4490281Z    |
2019-08-09T15:52:51.4490281Z    |
2019-08-09T15:52:51.4490712Z LL | fn without_assoc<'a,'b>() {
2019-08-09T15:52:51.4490788Z 
2019-08-09T15:52:51.4490788Z 
2019-08-09T15:52:51.4491233Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4491568Z    |
2019-08-09T15:52:51.4491568Z    |
2019-08-09T15:52:51.4491786Z LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-09T15:52:51.4491896Z    |
2019-08-09T15:52:51.4491896Z    |
2019-08-09T15:52:51.4492153Z note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-09T15:52:51.4492478Z    |
2019-08-09T15:52:51.4492478Z    |
2019-08-09T15:52:51.4492755Z LL | fn call_with_assoc<'a,'b>() {
2019-08-09T15:52:51.4492831Z    |                    ^^
2019-08-09T15:52:51.4493418Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-09T15:52:51.4493815Z    |
2019-08-09T15:52:51.4493815Z    |
2019-08-09T15:52:51.4494023Z LL | fn call_with_assoc<'a,'b>() {
2019-08-09T15:52:51.4494115Z 
2019-08-09T15:52:51.4494115Z 
2019-08-09T15:52:51.4494415Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-09T15:52:51.4494726Z    |
2019-08-09T15:52:51.4494726Z    |
2019-08-09T15:52:51.4494999Z LL |     call::<&'a WithoutAssoc<TheType<'b>>>(); //~ ERROR reference has a longer lifetime
2019-08-09T15:52:51.4495108Z    |
2019-08-09T15:52:51.4495108Z    |
2019-08-09T15:52:51.4495381Z note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-09T15:52:51.4495692Z    |
2019-08-09T15:52:51.4495692Z    |
2019-08-09T15:52:51.4495898Z LL | fn call_without_assoc<'a,'b>() {
2019-08-09T15:52:51.4495962Z    |                       ^^
2019-08-09T15:52:51.4496236Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-09T15:52:51.4496696Z    |
2019-08-09T15:52:51.4496696Z    |
2019-08-09T15:52:51.4496904Z LL | fn call_without_assoc<'a,'b>() {
2019-08-09T15:52:51.4497001Z 
2019-08-09T15:52:51.4497044Z error: aborting due to 4 previous errors
2019-08-09T15:52:51.4497074Z 
2019-08-09T15:52:51.4497321Z For more information about this error, try `rustc --explain E0491`.
2019-08-09T15:52:51.4497321Z For more information about this error, try `rustc --explain E0491`.
2019-08-09T15:52:51.4497374Z 
2019-08-09T15:52:51.4497590Z ------------------------------------------
2019-08-09T15:52:51.4497623Z 
2019-08-09T15:52:51.4497649Z 
2019-08-09T15:52:51.4497895Z ---- [ui] ui/specialization/defaultimpl/specialization-no-default.rs stdout ----
2019-08-09T15:52:51.4497965Z diff of stderr:
2019-08-09T15:52:51.4497994Z 
2019-08-09T15:52:51.4498045Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4498845Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-09T15:52:51.4498907Z 3    |
2019-08-09T15:52:51.4498907Z 3    |
2019-08-09T15:52:51.4498970Z 4 LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4499016Z 5 LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4499046Z 
2019-08-09T15:52:51.4499096Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4499161Z 14 
2019-08-09T15:52:51.4499226Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4499733Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-09T15:52:51.4499780Z 17    |
2019-08-09T15:52:51.4499780Z 17    |
2019-08-09T15:52:51.4499823Z 18 LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4499885Z 19 LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4499915Z 
2019-08-09T15:52:51.4499964Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4500020Z 28 
2019-08-09T15:52:51.4500088Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4500541Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-09T15:52:51.4500604Z 31    |
2019-08-09T15:52:51.4500604Z 31    |
2019-08-09T15:52:51.4500647Z 32 LL | / impl<T> Bar for T {
2019-08-09T15:52:51.4500692Z 33 LL | |     type T = u8;
2019-08-09T15:52:51.4500840Z 
2019-08-09T15:52:51.4500914Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4500960Z 41 
2019-08-09T15:52:51.4501011Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4501502Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-09T15:52:51.4501559Z 44    |
2019-08-09T15:52:51.4501559Z 44    |
2019-08-09T15:52:51.4501619Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-09T15:52:51.4501666Z 46 LL | |     fn baz(&self) {}
2019-08-09T15:52:51.4501695Z 
2019-08-09T15:52:51.4501744Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4501805Z 54 
2019-08-09T15:52:51.4501857Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4502482Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-09T15:52:51.4502527Z 57    |
2019-08-09T15:52:51.4502527Z 57    |
2019-08-09T15:52:51.4502571Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-09T15:52:51.4502788Z 59 LL | |     fn redundant(&self) {}
2019-08-09T15:52:51.4502843Z 
2019-08-09T15:52:51.4502886Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4503783Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-09T15:52:51.4503783Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-09T15:52:51.4504214Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4504507Z To only update this specific test, also pass `--test-args specialization/defaultimpl/specialization-no-default.rs`
2019-08-09T15:52:51.4504610Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4504654Z status: exit code: 1
2019-08-09T15:52:51.4504654Z status: exit code: 1
2019-08-09T15:52:51.4505751Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/defaultimpl/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4506184Z ------------------------------------------
2019-08-09T15:52:51.4506221Z 
2019-08-09T15:52:51.4506437Z ------------------------------------------
2019-08-09T15:52:51.4506482Z stderr:
2019-08-09T15:52:51.4506482Z stderr:
2019-08-09T15:52:51.4506709Z ------------------------------------------
2019-08-09T15:52:51.4506775Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4507120Z    |
2019-08-09T15:52:51.4507120Z    |
2019-08-09T15:52:51.4507164Z LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4507209Z LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4507315Z LL | |     fn bar(&self) {}
2019-08-09T15:52:51.4507359Z LL | | }
2019-08-09T15:52:51.4507563Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4507634Z ...
2019-08-09T15:52:51.4507680Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4507730Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-09T15:52:51.4507793Z    |
2019-08-09T15:52:51.4507842Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4507875Z 
2019-08-09T15:52:51.4507925Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4508380Z    |
2019-08-09T15:52:51.4508380Z    |
2019-08-09T15:52:51.4508422Z LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4508483Z LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4508528Z LL | |     fn bar(&self) {}
2019-08-09T15:52:51.4508570Z LL | | }
2019-08-09T15:52:51.4508792Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4508854Z ...
2019-08-09T15:52:51.4508899Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4508958Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-09T15:52:51.4509022Z    |
2019-08-09T15:52:51.4509070Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4509104Z 
2019-08-09T15:52:51.4509173Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4509492Z    |
2019-08-09T15:52:51.4509492Z    |
2019-08-09T15:52:51.4509542Z LL | / impl<T> Bar for T {
2019-08-09T15:52:51.4509604Z LL | |     type T = u8;
2019-08-09T15:52:51.4509647Z LL | | }
2019-08-09T15:52:51.4509852Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4509913Z ...
2019-08-09T15:52:51.4509959Z LL |       type T = (); //~ ERROR E0520
2019-08-09T15:52:51.4510012Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-09T15:52:51.4510073Z    |
2019-08-09T15:52:51.4510122Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4510233Z 
2019-08-09T15:52:51.4510285Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4510782Z    |
2019-08-09T15:52:51.4510782Z    |
2019-08-09T15:52:51.4510824Z LL | / impl<T: Clone> Baz for T {
2019-08-09T15:52:51.4510884Z LL | |     fn baz(&self) {}
2019-08-09T15:52:51.4510925Z LL | | }
2019-08-09T15:52:51.4511300Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4511363Z ...
2019-08-09T15:52:51.4511409Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4511458Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-09T15:52:51.4511503Z    |
2019-08-09T15:52:51.4511725Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4511758Z 
2019-08-09T15:52:51.4511808Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4512544Z    |
2019-08-09T15:52:51.4512544Z    |
2019-08-09T15:52:51.4512587Z LL | / impl<T: Clone> Redundant for T {
2019-08-09T15:52:51.4512805Z LL | |     fn redundant(&self) {}
2019-08-09T15:52:51.4512847Z LL | | }
2019-08-09T15:52:51.4513516Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4513571Z ...
2019-08-09T15:52:51.4513637Z LL |       fn redundant(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4513700Z    |       ^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-09T15:52:51.4513746Z    |
2019-08-09T15:52:51.4513812Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4513891Z error: aborting due to 5 previous errors
2019-08-09T15:52:51.4513920Z 
2019-08-09T15:52:51.4514189Z For more information about this error, try `rustc --explain E0520`.
2019-08-09T15:52:51.4514233Z 
2019-08-09T15:52:51.4514233Z 
2019-08-09T15:52:51.4514445Z ------------------------------------------
2019-08-09T15:52:51.4514478Z 
2019-08-09T15:52:51.4514519Z 
2019-08-09T15:52:51.4514759Z ---- [ui] ui/specialization/specialization-no-default.rs stdout ----
2019-08-09T15:52:51.4514809Z diff of stderr:
2019-08-09T15:52:51.4514838Z 
2019-08-09T15:52:51.4514906Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4515450Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-09T15:52:51.4515523Z 3    |
2019-08-09T15:52:51.4515523Z 3    |
2019-08-09T15:52:51.4515568Z 4 LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4515613Z 5 LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4515644Z 
2019-08-09T15:52:51.4515708Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4515755Z 14 
2019-08-09T15:52:51.4515807Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4516305Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-09T15:52:51.4516352Z 17    |
2019-08-09T15:52:51.4516352Z 17    |
2019-08-09T15:52:51.4516411Z 18 LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4516457Z 19 LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4516486Z 
2019-08-09T15:52:51.4516534Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4516596Z 28 
2019-08-09T15:52:51.4516655Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4517380Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-09T15:52:51.4517434Z 31    |
2019-08-09T15:52:51.4517434Z 31    |
2019-08-09T15:52:51.4517476Z 32 LL | / impl<T> Bar for T {
2019-08-09T15:52:51.4517521Z 33 LL | |     type T = u8;
2019-08-09T15:52:51.4517569Z 
2019-08-09T15:52:51.4517715Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4517760Z 41 
2019-08-09T15:52:51.4517831Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4518324Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-09T15:52:51.4518390Z 44    |
2019-08-09T15:52:51.4518390Z 44    |
2019-08-09T15:52:51.4518434Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-09T15:52:51.4518489Z 46 LL | |     fn baz(&self) {}
2019-08-09T15:52:51.4518520Z 
2019-08-09T15:52:51.4518585Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4518631Z 54 
2019-08-09T15:52:51.4518683Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4519152Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-09T15:52:51.4519207Z 57    |
2019-08-09T15:52:51.4519207Z 57    |
2019-08-09T15:52:51.4519269Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-09T15:52:51.4519317Z 59 LL | |     fn redundant(&self) {}
2019-08-09T15:52:51.4519372Z 
2019-08-09T15:52:51.4519572Z The actual stderr differed from the expected stderr.
2019-08-09T15:52:51.4519910Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-09T15:52:51.4519910Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-09T15:52:51.4520163Z To update references, rerun the tests and pass the `--bless` flag
2019-08-09T15:52:51.4520450Z To only update this specific test, also pass `--test-args specialization/specialization-no-default.rs`
2019-08-09T15:52:51.4520529Z error: 1 errors occurred comparing output.
2019-08-09T15:52:51.4520573Z status: exit code: 1
2019-08-09T15:52:51.4520573Z status: exit code: 1
2019-08-09T15:52:51.4521523Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/auxiliary" "-A" "unused"
2019-08-09T15:52:51.4521941Z ------------------------------------------
2019-08-09T15:52:51.4521983Z 
2019-08-09T15:52:51.4522218Z ------------------------------------------
2019-08-09T15:52:51.4522283Z stderr:
2019-08-09T15:52:51.4522283Z stderr:
2019-08-09T15:52:51.4522496Z ------------------------------------------
2019-08-09T15:52:51.4522552Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4522889Z    |
2019-08-09T15:52:51.4522889Z    |
2019-08-09T15:52:51.4522932Z LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4522994Z LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4523040Z LL | |     fn bar(&self) {}
2019-08-09T15:52:51.4523082Z LL | | }
2019-08-09T15:52:51.4523829Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4523886Z ...
2019-08-09T15:52:51.4523930Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4523979Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-09T15:52:51.4524053Z    |
2019-08-09T15:52:51.4524101Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4524136Z 
2019-08-09T15:52:51.4524203Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4524526Z    |
2019-08-09T15:52:51.4524526Z    |
2019-08-09T15:52:51.4524586Z LL | / impl<T> Foo for T {
2019-08-09T15:52:51.4524739Z LL | |     fn foo(&self) {}
2019-08-09T15:52:51.4524784Z LL | |     fn bar(&self) {}
2019-08-09T15:52:51.4524828Z LL | | }
2019-08-09T15:52:51.4525072Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4525118Z ...
2019-08-09T15:52:51.4525163Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4525231Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-09T15:52:51.4525276Z    |
2019-08-09T15:52:51.4525334Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4525368Z 
2019-08-09T15:52:51.4525436Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4525743Z    |
2019-08-09T15:52:51.4525743Z    |
2019-08-09T15:52:51.4525804Z LL | / impl<T> Bar for T {
2019-08-09T15:52:51.4525848Z LL | |     type T = u8;
2019-08-09T15:52:51.4525890Z LL | | }
2019-08-09T15:52:51.4526124Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4526169Z ...
2019-08-09T15:52:51.4526213Z LL |       type T = (); //~ ERROR E0520
2019-08-09T15:52:51.4526264Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-09T15:52:51.4526326Z    |
2019-08-09T15:52:51.4526375Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4526408Z 
2019-08-09T15:52:51.4526475Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4526945Z    |
2019-08-09T15:52:51.4526945Z    |
2019-08-09T15:52:51.4527003Z LL | / impl<T: Clone> Baz for T {
2019-08-09T15:52:51.4527221Z LL | |     fn baz(&self) {}
2019-08-09T15:52:51.4527262Z LL | | }
2019-08-09T15:52:51.4527515Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4527572Z ...
2019-08-09T15:52:51.4527615Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4527663Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-09T15:52:51.4527733Z    |
2019-08-09T15:52:51.4527779Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4527810Z 
2019-08-09T15:52:51.4527859Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-09T15:52:51.4528171Z    |
2019-08-09T15:52:51.4528171Z    |
2019-08-09T15:52:51.4528281Z LL | / impl<T: Clone> Redundant for T {
2019-08-09T15:52:51.4528353Z LL | |     fn redundant(&self) {}
2019-08-09T15:52:51.4528395Z LL | | }
2019-08-09T15:52:51.4528780Z    | |_- parent `impl` is here
2019-08-09T15:52:51.4528841Z ...
2019-08-09T15:52:51.4528887Z LL |       default fn redundant(&self) {} //~ ERROR E0520
2019-08-09T15:52:51.4528940Z    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-09T15:52:51.4529006Z    |
2019-08-09T15:52:51.4529065Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-09T15:52:51.4529141Z error: aborting due to 5 previous errors
2019-08-09T15:52:51.4529188Z 
2019-08-09T15:52:51.4529433Z For more information about this error, try `rustc --explain E0520`.
2019-08-09T15:52:51.4529468Z 
---
2019-08-09T15:52:51.4535387Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-08-09T15:52:51.4535449Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-08-09T15:52:51.4535483Z 
2019-08-09T15:52:51.4535526Z 
2019-08-09T15:52:51.4537124Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-08-09T15:52:51.4537731Z 
2019-08-09T15:52:51.4537761Z 
2019-08-09T15:52:51.4537808Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-08-09T15:52:51.4537862Z Build completed unsuccessfully in 1:10:31
2019-08-09T15:52:51.4537862Z Build completed unsuccessfully in 1:10:31
2019-08-09T15:52:52.2025099Z ##[error]Bash exited with code '1'.
2019-08-09T15:52:52.2066370Z ##[section]Starting: Checkout
2019-08-09T15:52:52.2068069Z ==============================================================================
2019-08-09T15:52:52.2068126Z Task         : Get sources
2019-08-09T15:52:52.2068194Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-08-12T09:00:38.4834305Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-08-12T09:00:38.4994784Z ##[command]git config gc.auto 0
2019-08-12T09:00:38.5075505Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-08-12T09:00:38.5146100Z ##[command]git config --get-all http.proxy
2019-08-12T09:00:38.5294150Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63347/merge:refs/remotes/pull/63347/merge
---
2019-08-12T09:01:20.4441538Z do so (now or later) by using -b with the checkout command again. Example:
2019-08-12T09:01:20.4443038Z 
2019-08-12T09:01:20.4444794Z   git checkout -b <new-branch-name>
2019-08-12T09:01:20.4446365Z 
2019-08-12T09:01:20.4447205Z HEAD is now at 90115fcb8 Merge 02776dd1b5d9d34c69cd335f21e03e20bd3c5850 into 72f8043d44a8925e469daf5c10e2630c80c2a7d4
2019-08-12T09:01:20.4605215Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-08-12T09:01:20.4608388Z ==============================================================================
2019-08-12T09:01:20.4608478Z Task         : Bash
2019-08-12T09:01:20.4608529Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-08-12T10:02:02.1540344Z .................................................................................................... 1300/8872
2019-08-12T10:02:08.6979682Z .................................................................................................... 1400/8872
2019-08-12T10:02:14.8561888Z .................................................................................................... 1500/8872
2019-08-12T10:02:25.4944331Z ....................................................................................i............... 1600/8872
2019-08-12T10:02:33.2059022Z i................................................................................................... 1700/8872
2019-08-12T10:02:39.9874189Z ...........................................................................iiiii.................... 1800/8872
2019-08-12T10:03:02.3608212Z .................................................................................................... 2000/8872
2019-08-12T10:03:04.8533665Z .................................................................................................... 2100/8872
2019-08-12T10:03:07.6372436Z .................................................................................................... 2200/8872
2019-08-12T10:03:15.4410507Z .................................................................................................... 2300/8872
---
2019-08-12T10:07:12.3548810Z .................................................................................................... 5300/8872
2019-08-12T10:07:19.7261051Z .......i............................................................................................ 5400/8872
2019-08-12T10:07:25.1147481Z .................................................................................................... 5500/8872
2019-08-12T10:07:37.5606233Z .................................................................................................... 5600/8872
2019-08-12T10:07:51.7800120Z ..ii...i..ii...........i............................................................................ 5700/8872
2019-08-12T10:08:07.5993510Z .................................................................................................... 5900/8872
2019-08-12T10:08:12.3565881Z .................................................................................................... 6000/8872
2019-08-12T10:08:12.3565881Z .................................................................................................... 6000/8872
2019-08-12T10:08:26.6335409Z ...i..ii............................................................................................ 6100/8872
2019-08-12T10:08:45.4232937Z ..............................................i..................................................... 6300/8872
2019-08-12T10:08:47.6029426Z .................................................................................................... 6400/8872
2019-08-12T10:08:50.1291046Z ..................i................................................................................. 6500/8872
2019-08-12T10:08:54.6815684Z .................................................................................................... 6600/8872
2019-08-12T10:08:54.6815684Z .................................................................................................... 6600/8872
2019-08-12T10:09:11.9071103Z .................................................................................................... 6700/8872
2019-08-12T10:09:34.2675596Z .................................................................................................... 6800/8872
2019-08-12T10:09:39.5366612Z ..............................................................FF.................................... 6900/8872
2019-08-12T10:09:44.8494866Z .................................................................................F.FFFF............. 7000/8872
2019-08-12T10:09:55.4446133Z .................................................................................................... 7200/8872
2019-08-12T10:10:05.5326689Z .................................................................................................... 7300/8872
2019-08-12T10:10:15.2616822Z .................................................................................................... 7400/8872
2019-08-12T10:10:26.1540615Z ...............................................ii......i............................................ 7500/8872
---
2019-08-12T10:12:55.1325649Z 1 error[E0308]: mismatched types
2019-08-12T10:12:55.1325959Z -   --> $DIR/associated-type-projection-from-supertrait.rs:33:23
2019-08-12T10:12:55.1326222Z +   --> $DIR/associated-type-projection-from-supertrait.rs:27:23
2019-08-12T10:12:55.1326287Z 3    |
2019-08-12T10:12:55.1326356Z 4 LL | fn b() { dent(ModelT, Blue); }
2019-08-12T10:12:55.1326406Z 5    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1326496Z 8               found type `Blue`
2019-08-12T10:12:55.1326538Z 9 
2019-08-12T10:12:55.1326579Z 10 error[E0308]: mismatched types
2019-08-12T10:12:55.1326846Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-12T10:12:55.1326846Z -   --> $DIR/associated-type-projection-from-supertrait.rs:34:23
2019-08-12T10:12:55.1327122Z +   --> $DIR/associated-type-projection-from-supertrait.rs:28:23
2019-08-12T10:12:55.1327170Z 12    |
2019-08-12T10:12:55.1327211Z 13 LL | fn c() { dent(ModelU, Black); }
2019-08-12T10:12:55.1327274Z 14    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1327346Z 17               found type `Black`
2019-08-12T10:12:55.1327387Z 18 
2019-08-12T10:12:55.1327445Z 19 error[E0308]: mismatched types
2019-08-12T10:12:55.1327761Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-12T10:12:55.1327761Z -   --> $DIR/associated-type-projection-from-supertrait.rs:40:28
2019-08-12T10:12:55.1328042Z +   --> $DIR/associated-type-projection-from-supertrait.rs:32:28
2019-08-12T10:12:55.1328105Z 21    |
2019-08-12T10:12:55.1328150Z 22 LL | fn f() { ModelT.chip_paint(Blue); }
2019-08-12T10:12:55.1328200Z 23    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1328395Z 26               found type `Blue`
2019-08-12T10:12:55.1328438Z 27 
2019-08-12T10:12:55.1328477Z 28 error[E0308]: mismatched types
2019-08-12T10:12:55.1328957Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-12T10:12:55.1328957Z -   --> $DIR/associated-type-projection-from-supertrait.rs:41:28
2019-08-12T10:12:55.1329182Z +   --> $DIR/associated-type-projection-from-supertrait.rs:33:28
2019-08-12T10:12:55.1329222Z 30    |
2019-08-12T10:12:55.1329273Z 31 LL | fn g() { ModelU.chip_paint(Black); }
2019-08-12T10:12:55.1329316Z 32    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1329373Z 
2019-08-12T10:12:55.1329580Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1329958Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-12T10:12:55.1329958Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/associated-type-projection-from-supertrait.stderr
2019-08-12T10:12:55.1330196Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1330496Z To only update this specific test, also pass `--test-args associated-type/associated-type-projection-from-supertrait.rs`
2019-08-12T10:12:55.1330569Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1330621Z status: exit code: 1
2019-08-12T10:12:55.1330621Z status: exit code: 1
2019-08-12T10:12:55.1331584Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-type/associated-type-projection-from-supertrait/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1332068Z ------------------------------------------
2019-08-12T10:12:55.1332100Z 
2019-08-12T10:12:55.1332323Z ------------------------------------------
2019-08-12T10:12:55.1332362Z stderr:
2019-08-12T10:12:55.1332362Z stderr:
2019-08-12T10:12:55.1332558Z ------------------------------------------
2019-08-12T10:12:55.1332614Z error[E0308]: mismatched types
2019-08-12T10:12:55.1332866Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:27:23
2019-08-12T10:12:55.1332912Z    |
2019-08-12T10:12:55.1332969Z LL | fn b() { dent(ModelT, Blue); } //~ ERROR mismatched types
2019-08-12T10:12:55.1333029Z    |                       ^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1333118Z    = note: expected type `Black`
2019-08-12T10:12:55.1333156Z               found type `Blue`
2019-08-12T10:12:55.1333180Z 
2019-08-12T10:12:55.1333216Z error[E0308]: mismatched types
2019-08-12T10:12:55.1333216Z error[E0308]: mismatched types
2019-08-12T10:12:55.1333483Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:28:23
2019-08-12T10:12:55.1333528Z    |
2019-08-12T10:12:55.1333567Z LL | fn c() { dent(ModelU, Black); } //~ ERROR mismatched types
2019-08-12T10:12:55.1333626Z    |                       ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1333698Z    = note: expected type `Blue`
2019-08-12T10:12:55.1333735Z               found type `Black`
2019-08-12T10:12:55.1333776Z 
2019-08-12T10:12:55.1333810Z error[E0308]: mismatched types
2019-08-12T10:12:55.1333810Z error[E0308]: mismatched types
2019-08-12T10:12:55.1334058Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:32:28
2019-08-12T10:12:55.1334125Z    |
2019-08-12T10:12:55.1334173Z LL | fn f() { ModelT.chip_paint(Blue); } //~ ERROR mismatched types
2019-08-12T10:12:55.1334220Z    |                            ^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1334308Z    = note: expected type `Black`
2019-08-12T10:12:55.1334345Z               found type `Blue`
2019-08-12T10:12:55.1334369Z 
2019-08-12T10:12:55.1334419Z error[E0308]: mismatched types
2019-08-12T10:12:55.1334419Z error[E0308]: mismatched types
2019-08-12T10:12:55.1335131Z   --> /checkout/src/test/ui/associated-type/associated-type-projection-from-supertrait.rs:33:28
2019-08-12T10:12:55.1335188Z    |
2019-08-12T10:12:55.1335252Z LL | fn g() { ModelU.chip_paint(Black); } //~ ERROR mismatched types
2019-08-12T10:12:55.1335306Z    |                            ^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1335414Z    = note: expected type `Blue`
2019-08-12T10:12:55.1335472Z               found type `Black`
2019-08-12T10:12:55.1335502Z 
2019-08-12T10:12:55.1335666Z error: aborting due to 4 previous errors
---
2019-08-12T10:12:55.1336451Z 
2019-08-12T10:12:55.1336752Z ---- [ui] ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs stdout ----
2019-08-12T10:12:55.1336806Z diff of stderr:
2019-08-12T10:12:55.1336835Z 
2019-08-12T10:12:55.1336897Z 1 error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-12T10:12:55.1337470Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:31:10
2019-08-12T10:12:55.1337538Z 3    |
2019-08-12T10:12:55.1337538Z 3    |
2019-08-12T10:12:55.1337667Z 4 LL | fn b() { blue_car(ModelT); }
2019-08-12T10:12:55.1337725Z 5    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1337817Z 7    = note: expected type `Black`
2019-08-12T10:12:55.1337863Z 8               found type `Blue`
2019-08-12T10:12:55.1337863Z 8               found type `Blue`
2019-08-12T10:12:55.1337906Z 9 note: required by `blue_car`
2019-08-12T10:12:55.1338784Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:27:1
2019-08-12T10:12:55.1338826Z 11    |
2019-08-12T10:12:55.1338826Z 11    |
2019-08-12T10:12:55.1338880Z 12 LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-12T10:12:55.1338946Z 
2019-08-12T10:12:55.1338992Z 14 
2019-08-12T10:12:55.1338992Z 14 
2019-08-12T10:12:55.1339034Z 15 error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-12T10:12:55.1339522Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:32:10
2019-08-12T10:12:55.1339582Z 17    |
2019-08-12T10:12:55.1339582Z 17    |
2019-08-12T10:12:55.1339619Z 18 LL | fn c() { black_car(ModelU); }
2019-08-12T10:12:55.1339660Z 19    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1339738Z 21    = note: expected type `Blue`
2019-08-12T10:12:55.1339776Z 22               found type `Black`
2019-08-12T10:12:55.1339776Z 22               found type `Black`
2019-08-12T10:12:55.1339828Z 23 note: required by `black_car`
2019-08-12T10:12:55.1340296Z +   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:24:1
2019-08-12T10:12:55.1340337Z 25    |
2019-08-12T10:12:55.1340337Z 25    |
2019-08-12T10:12:55.1340389Z 26 LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-12T10:12:55.1340455Z 
2019-08-12T10:12:55.1340476Z 
2019-08-12T10:12:55.1340537Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1340897Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-12T10:12:55.1340897Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/associated-types-binding-to-type-defined-in-supertrait.stderr
2019-08-12T10:12:55.1341154Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1341444Z To only update this specific test, also pass `--test-args associated-types/associated-types-binding-to-type-defined-in-supertrait.rs`
2019-08-12T10:12:55.1341515Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1341567Z status: exit code: 1
2019-08-12T10:12:55.1341567Z status: exit code: 1
2019-08-12T10:12:55.1342402Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1342756Z ------------------------------------------
2019-08-12T10:12:55.1342802Z 
2019-08-12T10:12:55.1343005Z ------------------------------------------
2019-08-12T10:12:55.1343045Z stderr:
2019-08-12T10:12:55.1343045Z stderr:
2019-08-12T10:12:55.1343242Z ------------------------------------------
2019-08-12T10:12:55.1343307Z error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2019-08-12T10:12:55.1343731Z    |
2019-08-12T10:12:55.1343731Z    |
2019-08-12T10:12:55.1343775Z LL | fn b() { blue_car(ModelT); } //~ ERROR type mismatch
2019-08-12T10:12:55.1343827Z    |          ^^^^^^^^ expected struct `Black`, found struct `Blue`
2019-08-12T10:12:55.1343918Z    = note: expected type `Black`
2019-08-12T10:12:55.1343957Z               found type `Blue`
2019-08-12T10:12:55.1343957Z               found type `Blue`
2019-08-12T10:12:55.1343996Z note: required by `blue_car`
2019-08-12T10:12:55.1344362Z    |
2019-08-12T10:12:55.1344362Z    |
2019-08-12T10:12:55.1344401Z LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
2019-08-12T10:12:55.1344484Z 
2019-08-12T10:12:55.1344484Z 
2019-08-12T10:12:55.1344526Z error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
2019-08-12T10:12:55.1345328Z    |
2019-08-12T10:12:55.1345328Z    |
2019-08-12T10:12:55.1345374Z LL | fn c() { black_car(ModelU); } //~ ERROR type mismatch
2019-08-12T10:12:55.1345430Z    |          ^^^^^^^^^ expected struct `Blue`, found struct `Black`
2019-08-12T10:12:55.1345530Z    = note: expected type `Blue`
2019-08-12T10:12:55.1345573Z               found type `Black`
2019-08-12T10:12:55.1345573Z               found type `Black`
2019-08-12T10:12:55.1345633Z note: required by `black_car`
2019-08-12T10:12:55.1345987Z    |
2019-08-12T10:12:55.1345987Z    |
2019-08-12T10:12:55.1346045Z LL | fn black_car<C:Car<Color=Black>>(c: C) {
2019-08-12T10:12:55.1346123Z 
2019-08-12T10:12:55.1346165Z error: aborting due to 2 previous errors
2019-08-12T10:12:55.1346210Z 
2019-08-12T10:12:55.1346467Z For more information about this error, try `rustc --explain E0271`.
2019-08-12T10:12:55.1346467Z For more information about this error, try `rustc --explain E0271`.
2019-08-12T10:12:55.1346503Z 
2019-08-12T10:12:55.1346729Z ------------------------------------------
2019-08-12T10:12:55.1346787Z 
2019-08-12T10:12:55.1346812Z 
2019-08-12T10:12:55.1347061Z ---- [ui] ui/hrtb/hrtb-conflate-regions.rs stdout ----
2019-08-12T10:12:55.1347111Z diff of stderr:
2019-08-12T10:12:55.1347152Z 
2019-08-12T10:12:55.1347438Z 1 error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-12T10:12:55.1347679Z -   --> $DIR/hrtb-conflate-regions.rs:28:10
2019-08-12T10:12:55.1347929Z +   --> $DIR/hrtb-conflate-regions.rs:27:10
2019-08-12T10:12:55.1347974Z 3    |
2019-08-12T10:12:55.1348018Z 4 LL | fn b() { want_foo2::<SomeStruct>(); }
2019-08-12T10:12:55.1348425Z 5    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-12T10:12:55.1348501Z 
2019-08-12T10:12:55.1348544Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1348851Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-12T10:12:55.1348851Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/hrtb-conflate-regions.stderr
2019-08-12T10:12:55.1349234Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1349540Z To only update this specific test, also pass `--test-args hrtb/hrtb-conflate-regions.rs`
2019-08-12T10:12:55.1349633Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1349674Z status: exit code: 1
2019-08-12T10:12:55.1349674Z status: exit code: 1
2019-08-12T10:12:55.1350384Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/hrtb/hrtb-conflate-regions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hrtb/hrtb-conflate-regions/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1350933Z ------------------------------------------
2019-08-12T10:12:55.1350983Z 
2019-08-12T10:12:55.1351202Z ------------------------------------------
2019-08-12T10:12:55.1351245Z stderr:
2019-08-12T10:12:55.1351245Z stderr:
2019-08-12T10:12:55.1351472Z ------------------------------------------
2019-08-12T10:12:55.1351743Z error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
2019-08-12T10:12:55.1352049Z    |
2019-08-12T10:12:55.1352049Z    |
2019-08-12T10:12:55.1352091Z LL | fn b() { want_foo2::<SomeStruct>(); } //~ ERROR
2019-08-12T10:12:55.1352383Z    |          ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
2019-08-12T10:12:55.1352487Z    = help: the following implementations were found:
2019-08-12T10:12:55.1352487Z    = help: the following implementations were found:
2019-08-12T10:12:55.1352809Z              <SomeStruct as Foo<(&'a isize, &'a isize)>>
2019-08-12T10:12:55.1352859Z note: required by `want_foo2`
2019-08-12T10:12:55.1353344Z    |
2019-08-12T10:12:55.1353344Z    |
2019-08-12T10:12:55.1353385Z LL | / fn want_foo2<T>()
2019-08-12T10:12:55.1353679Z LL | |     where T : for<'a,'b> Foo<(&'a isize, &'b isize)>
2019-08-12T10:12:55.1353722Z LL | | {
2019-08-12T10:12:55.1354071Z    | |_^
2019-08-12T10:12:55.1354115Z 
2019-08-12T10:12:55.1354155Z error: aborting due to previous error
2019-08-12T10:12:55.1354179Z 
---
2019-08-12T10:12:55.1355630Z diff of stderr:
2019-08-12T10:12:55.1355847Z 
2019-08-12T10:12:55.1355907Z 7    = note: `#[warn(incomplete_features)]` on by default
2019-08-12T10:12:55.1355969Z 8 
2019-08-12T10:12:55.1356028Z 9 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-12T10:12:55.1356978Z +   --> $DIR/bound-normalization-fail.rs:28:32
2019-08-12T10:12:55.1357026Z 11    |
2019-08-12T10:12:55.1357026Z 11    |
2019-08-12T10:12:55.1357281Z 12 LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-12T10:12:55.1357355Z 13    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-12T10:12:55.1357662Z 
2019-08-12T10:12:55.1357714Z 17    = note: the return type of a function must have a statically known size
2019-08-12T10:12:55.1357776Z 18 
2019-08-12T10:12:55.1358549Z 19 error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-12T10:12:55.1359014Z +   --> $DIR/bound-normalization-fail.rs:44:41
2019-08-12T10:12:55.1359319Z 21    |
2019-08-12T10:12:55.1359319Z 21    |
2019-08-12T10:12:55.1359778Z 22 LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-12T10:12:55.1359838Z 23    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-12T10:12:55.1360059Z 
2019-08-12T10:12:55.1360098Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1360450Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-12T10:12:55.1360450Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/bound-normalization-fail.stderr
2019-08-12T10:12:55.1361034Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1361437Z To only update this specific test, also pass `--test-args impl-trait/bound-normalization-fail.rs`
2019-08-12T10:12:55.1361673Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1361825Z status: exit code: 1
2019-08-12T10:12:55.1361825Z status: exit code: 1
2019-08-12T10:12:55.1362786Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/impl-trait/bound-normalization-fail.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/bound-normalization-fail/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1363418Z ------------------------------------------
2019-08-12T10:12:55.1363459Z 
2019-08-12T10:12:55.1363698Z ------------------------------------------
2019-08-12T10:12:55.1363738Z stderr:
---
2019-08-12T10:12:55.1365489Z    |            ^^^^^^^^^^^^^^^^^^^^^^
2019-08-12T10:12:55.1365545Z    |
2019-08-12T10:12:55.1365590Z    = note: `#[warn(incomplete_features)]` on by default
2019-08-12T10:12:55.1365619Z 
2019-08-12T10:12:55.1365669Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as impl_trait::Trait>::Assoc`
2019-08-12T10:12:55.1366108Z    |
2019-08-12T10:12:55.1366108Z    |
2019-08-12T10:12:55.1366585Z LL |     fn foo_fail<T: Trait>() -> impl FooLike<Output=T::Assoc> {
2019-08-12T10:12:55.1366673Z    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-12T10:12:55.1366896Z    = note: expected type `()`
2019-08-12T10:12:55.1366896Z    = note: expected type `()`
2019-08-12T10:12:55.1367095Z               found type `<T as impl_trait::Trait>::Assoc`
2019-08-12T10:12:55.1367176Z    = note: the return type of a function must have a statically known size
2019-08-12T10:12:55.1367208Z 
2019-08-12T10:12:55.1367602Z error[E0271]: type mismatch resolving `<Foo<()> as FooLike>::Output == <T as lifetimes::Trait<'static>>::Assoc`
2019-08-12T10:12:55.1368558Z    |
2019-08-12T10:12:55.1368558Z    |
2019-08-12T10:12:55.1369022Z LL |     fn foo2_fail<'a, T: Trait<'a>>() -> impl FooLike<Output=T::Assoc> {
2019-08-12T10:12:55.1369085Z    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found associated type
2019-08-12T10:12:55.1369159Z    = note: expected type `()`
2019-08-12T10:12:55.1369159Z    = note: expected type `()`
2019-08-12T10:12:55.1369404Z               found type `<T as lifetimes::Trait<'static>>::Assoc`
2019-08-12T10:12:55.1369700Z    = note: the return type of a function must have a statically known size
2019-08-12T10:12:55.1369820Z error: aborting due to 2 previous errors
2019-08-12T10:12:55.1369844Z 
2019-08-12T10:12:55.1370261Z For more information about this error, try `rustc --explain E0271`.
2019-08-12T10:12:55.1370427Z 
2019-08-12T10:12:55.1370427Z 
2019-08-12T10:12:55.1370712Z ------------------------------------------
2019-08-12T10:12:55.1370741Z 
2019-08-12T10:12:55.1370763Z 
2019-08-12T10:12:55.1370969Z ---- [ui] ui/issues/issue-12028.rs stdout ----
2019-08-12T10:12:55.1371026Z diff of stderr:
2019-08-12T10:12:55.1371050Z 
2019-08-12T10:12:55.1371094Z 1 error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-12T10:12:55.1372804Z -   --> $DIR/issue-12028.rs:29:14
2019-08-12T10:12:55.1373123Z +   --> $DIR/issue-12028.rs:27:14
2019-08-12T10:12:55.1373208Z 4 LL |         self.input_stream(&mut stream);
2019-08-12T10:12:55.1373396Z 5    |              ^^^^^^^^^^^^
2019-08-12T10:12:55.1373423Z 
2019-08-12T10:12:55.1373454Z 
2019-08-12T10:12:55.1373454Z 
2019-08-12T10:12:55.1373494Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1374055Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/issue-12028.stderr
2019-08-12T10:12:55.1374319Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1375338Z To only update this specific test, also pass `--test-args issues/issue-12028.rs`
2019-08-12T10:12:55.1375458Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1375502Z status: exit code: 1
2019-08-12T10:12:55.1375502Z status: exit code: 1
2019-08-12T10:12:55.1376274Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/issues/issue-12028.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-12028/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1376611Z ------------------------------------------
2019-08-12T10:12:55.1376663Z 
2019-08-12T10:12:55.1376897Z ------------------------------------------
2019-08-12T10:12:55.1376943Z stderr:
2019-08-12T10:12:55.1376943Z stderr:
2019-08-12T10:12:55.1377184Z ------------------------------------------
2019-08-12T10:12:55.1377241Z error[E0284]: type annotations required: cannot resolve `<_ as StreamHasher>::S == <H as StreamHasher>::S`
2019-08-12T10:12:55.1377518Z   --> /checkout/src/test/ui/issues/issue-12028.rs:27:14
2019-08-12T10:12:55.1377586Z    |
2019-08-12T10:12:55.1377635Z LL |         self.input_stream(&mut stream); //~ ERROR type annotations required
2019-08-12T10:12:55.1377722Z 
2019-08-12T10:12:55.1377785Z error: aborting due to previous error
2019-08-12T10:12:55.1377822Z 
2019-08-12T10:12:55.1378228Z For more information about this error, try `rustc --explain E0284`.
2019-08-12T10:12:55.1378228Z For more information about this error, try `rustc --explain E0284`.
2019-08-12T10:12:55.1378261Z 
2019-08-12T10:12:55.1378581Z ------------------------------------------
2019-08-12T10:12:55.1378609Z 
2019-08-12T10:12:55.1378630Z 
2019-08-12T10:12:55.1378871Z ---- [ui] ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs#migrate stdout ----
2019-08-12T10:12:55.1378932Z diff of stderr:
2019-08-12T10:12:55.1378955Z 
2019-08-12T10:12:55.1379212Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1379692Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-12T10:12:55.1379734Z 3    |
2019-08-12T10:12:55.1379734Z 3    |
2019-08-12T10:12:55.1379958Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1380154Z 
2019-08-12T10:12:55.1380196Z 6    |
2019-08-12T10:12:55.1380196Z 6    |
2019-08-12T10:12:55.1380492Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 37:15
2019-08-12T10:12:55.1380851Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:15
2019-08-12T10:12:55.1381111Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-12T10:12:55.1381375Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:15
2019-08-12T10:12:55.1381419Z 9    |
2019-08-12T10:12:55.1381743Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1381831Z 
2019-08-12T10:12:55.1381831Z 
2019-08-12T10:12:55.1382108Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 37:18
2019-08-12T10:12:55.1382367Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:37:18
2019-08-12T10:12:55.1382787Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-12T10:12:55.1383049Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:33:18
2019-08-12T10:12:55.1383095Z 14    |
2019-08-12T10:12:55.1383321Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1383395Z 
2019-08-12T10:12:55.1383419Z 
2019-08-12T10:12:55.1383475Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1383475Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1383858Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/regions-assoc-type-in-supertrait-outlives-container.migrate.stderr
2019-08-12T10:12:55.1384122Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1384870Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-12T10:12:55.1384927Z 
2019-08-12T10:12:55.1384982Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1385046Z status: exit code: 1
2019-08-12T10:12:55.1385950Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.migrate/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1386307Z ------------------------------------------
2019-08-12T10:12:55.1386350Z 
2019-08-12T10:12:55.1386600Z ------------------------------------------
2019-08-12T10:12:55.1386654Z stderr:
2019-08-12T10:12:55.1386654Z stderr:
2019-08-12T10:12:55.1386881Z ------------------------------------------
2019-08-12T10:12:55.1387198Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1387543Z    |
2019-08-12T10:12:55.1387543Z    |
2019-08-12T10:12:55.1387919Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1388107Z    |
2019-08-12T10:12:55.1388107Z    |
2019-08-12T10:12:55.1388362Z note: the pointer is valid for the lifetime 'a as defined on the function body at 33:15
2019-08-12T10:12:55.1388658Z    |
2019-08-12T10:12:55.1388658Z    |
2019-08-12T10:12:55.1388861Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1388911Z    |               ^^
2019-08-12T10:12:55.1389262Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 33:18
2019-08-12T10:12:55.1389613Z    |
2019-08-12T10:12:55.1389613Z    |
2019-08-12T10:12:55.1389803Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1389884Z 
2019-08-12T10:12:55.1389921Z error: aborting due to previous error
2019-08-12T10:12:55.1389945Z 
2019-08-12T10:12:55.1390170Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-12T10:12:55.1390895Z 1 error: lifetime may not live long enough
2019-08-12T10:12:55.1397913Z -   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:43:12
2019-08-12T10:12:55.1398336Z +   --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-12T10:12:55.1398385Z 3    |
2019-08-12T10:12:55.1398630Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1398991Z 5    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1399050Z 
2019-08-12T10:12:55.1399107Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1399107Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1399473Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/regions-assoc-type-in-supertrait-outlives-container.nll.stderr
2019-08-12T10:12:55.1399730Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1400162Z To only update this specific test, also pass `--test-args regions/regions-assoc-type-in-supertrait-outlives-container.rs`
2019-08-12T10:12:55.1400216Z 
2019-08-12T10:12:55.1400260Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1400320Z status: exit code: 1
2019-08-12T10:12:55.1401156Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.nll/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1401510Z ------------------------------------------
2019-08-12T10:12:55.1401551Z 
2019-08-12T10:12:55.1401794Z ------------------------------------------
2019-08-12T10:12:55.1401838Z stderr:
2019-08-12T10:12:55.1401838Z stderr:
2019-08-12T10:12:55.1402059Z ------------------------------------------
2019-08-12T10:12:55.1402122Z error: lifetime may not live long enough
2019-08-12T10:12:55.1402395Z   --> /checkout/src/test/ui/regions/regions-assoc-type-in-supertrait-outlives-container.rs:39:12
2019-08-12T10:12:55.1402446Z    |
2019-08-12T10:12:55.1402674Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1402906Z    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1403306Z    |               lifetime `'a` defined here
2019-08-12T10:12:55.1403349Z ...
2019-08-12T10:12:55.1403349Z ...
2019-08-12T10:12:55.1403574Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1403853Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-12T10:12:55.1404059Z error: aborting due to previous error
2019-08-12T10:12:55.1404095Z 
2019-08-12T10:12:55.1404117Z 
2019-08-12T10:12:55.1404386Z ------------------------------------------
2019-08-12T10:12:55.1404386Z ------------------------------------------
2019-08-12T10:12:55.1404417Z 
2019-08-12T10:12:55.1404440Z 
2019-08-12T10:12:55.1404694Z ---- [ui] ui/regions/regions-outlives-projection-container-hrtb.rs#migrate stdout ----
2019-08-12T10:12:55.1405152Z diff of stderr:
2019-08-12T10:12:55.1405182Z 
2019-08-12T10:12:55.1405545Z 1 error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1406087Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-12T10:12:55.1406134Z 3    |
2019-08-12T10:12:55.1406134Z 3    |
2019-08-12T10:12:55.1406379Z 4 LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1406597Z 
2019-08-12T10:12:55.1406635Z 6    |
2019-08-12T10:12:55.1406635Z 6    |
2019-08-12T10:12:55.1406966Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-12T10:12:55.1407232Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:15
2019-08-12T10:12:55.1407512Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-12T10:12:55.1407784Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:15
2019-08-12T10:12:55.1407831Z 9    |
2019-08-12T10:12:55.1408051Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1408248Z 
2019-08-12T10:12:55.1408248Z 
2019-08-12T10:12:55.1408529Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-12T10:12:55.1408779Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:32:18
2019-08-12T10:12:55.1409080Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-12T10:12:55.1409462Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:27:18
2019-08-12T10:12:55.1409506Z 14    |
2019-08-12T10:12:55.1409727Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1409798Z 
2019-08-12T10:12:55.1409833Z 17 
2019-08-12T10:12:55.1409833Z 17 
2019-08-12T10:12:55.1410135Z 18 error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1410616Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-12T10:12:55.1410674Z 20    |
2019-08-12T10:12:55.1410674Z 20    |
2019-08-12T10:12:55.1410903Z 21 LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-12T10:12:55.1410993Z 
2019-08-12T10:12:55.1411028Z 23    |
2019-08-12T10:12:55.1411028Z 23    |
2019-08-12T10:12:55.1411567Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 53:19
2019-08-12T10:12:55.1411847Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:19
2019-08-12T10:12:55.1412141Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-12T10:12:55.1412392Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:19
2019-08-12T10:12:55.1412436Z 26    |
2019-08-12T10:12:55.1412666Z 27 LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1412741Z 
2019-08-12T10:12:55.1412741Z 
2019-08-12T10:12:55.1413033Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 53:22
2019-08-12T10:12:55.1413285Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:53:22
2019-08-12T10:12:55.1413689Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-12T10:12:55.1413962Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:46:22
2019-08-12T10:12:55.1414017Z 31    |
2019-08-12T10:12:55.1414243Z 32 LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1414445Z 
2019-08-12T10:12:55.1414469Z 
2019-08-12T10:12:55.1414515Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1414515Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1415258Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/regions-outlives-projection-container-hrtb.migrate.stderr
2019-08-12T10:12:55.1415565Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1415871Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-12T10:12:55.1415929Z 
2019-08-12T10:12:55.1415973Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1416017Z status: exit code: 1
2019-08-12T10:12:55.1416877Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.migrate/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1417382Z ------------------------------------------
2019-08-12T10:12:55.1417417Z 
2019-08-12T10:12:55.1417649Z ------------------------------------------
2019-08-12T10:12:55.1417694Z stderr:
2019-08-12T10:12:55.1417694Z stderr:
2019-08-12T10:12:55.1417945Z ------------------------------------------
2019-08-12T10:12:55.1418248Z error[E0491]: in type `&'a WithHrAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1418625Z    |
2019-08-12T10:12:55.1418625Z    |
2019-08-12T10:12:55.1418872Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1419030Z    |
2019-08-12T10:12:55.1419030Z    |
2019-08-12T10:12:55.1419304Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-12T10:12:55.1419650Z    |
2019-08-12T10:12:55.1419650Z    |
2019-08-12T10:12:55.1419911Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1419960Z    |               ^^
2019-08-12T10:12:55.1420270Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-12T10:12:55.1420612Z    |
2019-08-12T10:12:55.1420612Z    |
2019-08-12T10:12:55.1420843Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1420926Z 
2019-08-12T10:12:55.1420926Z 
2019-08-12T10:12:55.1421227Z error[E0491]: in type `&'a WithHrAssocSub<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1421570Z    |
2019-08-12T10:12:55.1421570Z    |
2019-08-12T10:12:55.1421811Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-12T10:12:55.1421920Z    |
2019-08-12T10:12:55.1421920Z    |
2019-08-12T10:12:55.1422190Z note: the pointer is valid for the lifetime 'a as defined on the function body at 46:19
2019-08-12T10:12:55.1422530Z    |
2019-08-12T10:12:55.1422530Z    |
2019-08-12T10:12:55.1422746Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1422818Z    |                   ^^
2019-08-12T10:12:55.1423194Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 46:22
2019-08-12T10:12:55.1423574Z    |
2019-08-12T10:12:55.1423574Z    |
2019-08-12T10:12:55.1423900Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1423973Z 
2019-08-12T10:12:55.1424027Z error: aborting due to 2 previous errors
2019-08-12T10:12:55.1424055Z 
2019-08-12T10:12:55.1424302Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-12T10:12:55.1425632Z 1 error: lifetime may not live long enough
2019-08-12T10:12:55.1425932Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:35:12
2019-08-12T10:12:55.1426212Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-12T10:12:55.1426260Z 3    |
2019-08-12T10:12:55.1426479Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1426737Z 5    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1427054Z 10    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-12T10:12:55.1427104Z 11 
2019-08-12T10:12:55.1427163Z 12 error: lifetime may not live long enough
2019-08-12T10:12:55.1427416Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-12T10:12:55.1427416Z -   --> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
2019-08-12T10:12:55.1427674Z +   --> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-12T10:12:55.1427736Z 14    |
2019-08-12T10:12:55.1427959Z 15 LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1428208Z 16    |                   -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1428292Z 
2019-08-12T10:12:55.1428343Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1428343Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1428711Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/regions-outlives-projection-container-hrtb.nll.stderr
2019-08-12T10:12:55.1428996Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1429302Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-hrtb.rs`
2019-08-12T10:12:55.1429340Z 
2019-08-12T10:12:55.1429401Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1429445Z status: exit code: 1
2019-08-12T10:12:55.1430287Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-hrtb.nll/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1430752Z ------------------------------------------
2019-08-12T10:12:55.1430784Z 
2019-08-12T10:12:55.1431008Z ------------------------------------------
2019-08-12T10:12:55.1431052Z stderr:
2019-08-12T10:12:55.1431052Z stderr:
2019-08-12T10:12:55.1431509Z ------------------------------------------
2019-08-12T10:12:55.1431551Z error: lifetime may not live long enough
2019-08-12T10:12:55.1431789Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:30:12
2019-08-12T10:12:55.1431854Z    |
2019-08-12T10:12:55.1432048Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1432332Z    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1432627Z    |               lifetime `'a` defined here
2019-08-12T10:12:55.1432667Z ...
2019-08-12T10:12:55.1432667Z ...
2019-08-12T10:12:55.1432878Z LL |     let _: &'a WithHrAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1433145Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-12T10:12:55.1433213Z error: lifetime may not live long enough
2019-08-12T10:12:55.1433469Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-hrtb.rs:50:12
2019-08-12T10:12:55.1433511Z    |
2019-08-12T10:12:55.1433511Z    |
2019-08-12T10:12:55.1433700Z LL | fn with_assoc_sub<'a,'b>() {
2019-08-12T10:12:55.1433928Z    |                   -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1434172Z    |                   lifetime `'a` defined here
2019-08-12T10:12:55.1434283Z ...
2019-08-12T10:12:55.1434283Z ...
2019-08-12T10:12:55.1434544Z LL |     let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
2019-08-12T10:12:55.1435164Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-12T10:12:55.1435272Z error: aborting due to 2 previous errors
2019-08-12T10:12:55.1435300Z 
2019-08-12T10:12:55.1435325Z 
2019-08-12T10:12:55.1435595Z ------------------------------------------
2019-08-12T10:12:55.1435595Z ------------------------------------------
2019-08-12T10:12:55.1435628Z 
2019-08-12T10:12:55.1435668Z 
2019-08-12T10:12:55.1435937Z ---- [ui] ui/regions/regions-outlives-projection-container-wc.rs#migrate stdout ----
2019-08-12T10:12:55.1435987Z diff of stderr:
2019-08-12T10:12:55.1436014Z 
2019-08-12T10:12:55.1436326Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1436882Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-12T10:12:55.1436937Z 3    |
2019-08-12T10:12:55.1436937Z 3    |
2019-08-12T10:12:55.1437182Z 4 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1437278Z 
2019-08-12T10:12:55.1437316Z 6    |
2019-08-12T10:12:55.1437316Z 6    |
2019-08-12T10:12:55.1437590Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 31:15
2019-08-12T10:12:55.1437861Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:15
2019-08-12T10:12:55.1438140Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-12T10:12:55.1438396Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:15
2019-08-12T10:12:55.1438458Z 9    |
2019-08-12T10:12:55.1438678Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1438753Z 
2019-08-12T10:12:55.1438753Z 
2019-08-12T10:12:55.1439054Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 31:18
2019-08-12T10:12:55.1439333Z -   --> $DIR/regions-outlives-projection-container-wc.rs:31:18
2019-08-12T10:12:55.1439630Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-12T10:12:55.1439905Z +   --> $DIR/regions-outlives-projection-container-wc.rs:27:18
2019-08-12T10:12:55.1439951Z 14    |
2019-08-12T10:12:55.1440168Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1440258Z 
2019-08-12T10:12:55.1440283Z 
2019-08-12T10:12:55.1440326Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1440326Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1440710Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/regions-outlives-projection-container-wc.migrate.stderr
2019-08-12T10:12:55.1440981Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1441280Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-12T10:12:55.1441446Z 
2019-08-12T10:12:55.1441500Z error in revision `migrate`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1441652Z status: exit code: 1
2019-08-12T10:12:55.1442495Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "migrate" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.migrate/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1443060Z ------------------------------------------
2019-08-12T10:12:55.1443194Z 
2019-08-12T10:12:55.1443403Z ------------------------------------------
2019-08-12T10:12:55.1443458Z stderr:
2019-08-12T10:12:55.1443458Z stderr:
2019-08-12T10:12:55.1443658Z ------------------------------------------
2019-08-12T10:12:55.1443921Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1444228Z    |
2019-08-12T10:12:55.1444228Z    |
2019-08-12T10:12:55.1444438Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1444534Z    |
2019-08-12T10:12:55.1444534Z    |
2019-08-12T10:12:55.1445245Z note: the pointer is valid for the lifetime 'a as defined on the function body at 27:15
2019-08-12T10:12:55.1445625Z    |
2019-08-12T10:12:55.1445625Z    |
2019-08-12T10:12:55.1445858Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1445906Z    |               ^^
2019-08-12T10:12:55.1446220Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 27:18
2019-08-12T10:12:55.1446551Z    |
2019-08-12T10:12:55.1446551Z    |
2019-08-12T10:12:55.1446783Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1446857Z 
2019-08-12T10:12:55.1446898Z error: aborting due to previous error
2019-08-12T10:12:55.1446943Z 
2019-08-12T10:12:55.1447202Z For more information about this error, try `rustc --explain E0491`.
---
2019-08-12T10:12:55.1447955Z 1 error: lifetime may not live long enough
2019-08-12T10:12:55.1448432Z -   --> $DIR/regions-outlives-projection-container-wc.rs:37:12
2019-08-12T10:12:55.1448672Z +   --> $DIR/regions-outlives-projection-container-wc.rs:33:12
2019-08-12T10:12:55.1448713Z 3    |
2019-08-12T10:12:55.1448904Z 4 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1449115Z 5    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1449181Z 
2019-08-12T10:12:55.1449220Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1449220Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1449663Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/regions-outlives-projection-container-wc.nll.stderr
2019-08-12T10:12:55.1449929Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1450322Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container-wc.rs`
2019-08-12T10:12:55.1450385Z 
2019-08-12T10:12:55.1450525Z error in revision `nll`: 1 errors occurred comparing output.
2019-08-12T10:12:55.1450575Z status: exit code: 1
2019-08-12T10:12:55.1451828Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container-wc.nll/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1452190Z ------------------------------------------
2019-08-12T10:12:55.1452340Z 
2019-08-12T10:12:55.1452616Z ------------------------------------------
2019-08-12T10:12:55.1452662Z stderr:
2019-08-12T10:12:55.1452662Z stderr:
2019-08-12T10:12:55.1452912Z ------------------------------------------
2019-08-12T10:12:55.1452961Z error: lifetime may not live long enough
2019-08-12T10:12:55.1453235Z   --> /checkout/src/test/ui/regions/regions-outlives-projection-container-wc.rs:33:12
2019-08-12T10:12:55.1453300Z    |
2019-08-12T10:12:55.1453522Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1453761Z    |               -- -- lifetime `'b` defined here
2019-08-12T10:12:55.1454161Z    |               lifetime `'a` defined here
2019-08-12T10:12:55.1454204Z ...
2019-08-12T10:12:55.1454204Z ...
2019-08-12T10:12:55.1455020Z LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1455392Z    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2019-08-12T10:12:55.1455471Z error: aborting due to previous error
2019-08-12T10:12:55.1455528Z 
2019-08-12T10:12:55.1455552Z 
2019-08-12T10:12:55.1455794Z ------------------------------------------
2019-08-12T10:12:55.1455794Z ------------------------------------------
2019-08-12T10:12:55.1455826Z 
2019-08-12T10:12:55.1455851Z 
2019-08-12T10:12:55.1456124Z ---- [ui] ui/regions/regions-outlives-projection-container.rs stdout ----
2019-08-12T10:12:55.1456173Z diff of stderr:
2019-08-12T10:12:55.1456200Z 
2019-08-12T10:12:55.1456513Z 1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1457035Z +   --> $DIR/regions-outlives-projection-container.rs:36:13
2019-08-12T10:12:55.1457096Z 3    |
2019-08-12T10:12:55.1457096Z 3    |
2019-08-12T10:12:55.1457337Z 4 LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1457415Z 
2019-08-12T10:12:55.1457467Z 6    |
2019-08-12T10:12:55.1457467Z 6    |
2019-08-12T10:12:55.1457741Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 32:15
2019-08-12T10:12:55.1458015Z -   --> $DIR/regions-outlives-projection-container.rs:32:15
2019-08-12T10:12:55.1458409Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-12T10:12:55.1458653Z +   --> $DIR/regions-outlives-projection-container.rs:28:15
2019-08-12T10:12:55.1458697Z 9    |
2019-08-12T10:12:55.1461507Z 10 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1461597Z 
2019-08-12T10:12:55.1461597Z 
2019-08-12T10:12:55.1461880Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 32:18
2019-08-12T10:12:55.1462147Z -   --> $DIR/regions-outlives-projection-container.rs:32:18
2019-08-12T10:12:55.1462421Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-12T10:12:55.1462759Z +   --> $DIR/regions-outlives-projection-container.rs:28:18
2019-08-12T10:12:55.1462833Z 14    |
2019-08-12T10:12:55.1463029Z 15 LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1463244Z 
2019-08-12T10:12:55.1463279Z 17 
2019-08-12T10:12:55.1463279Z 17 
2019-08-12T10:12:55.1463582Z 18 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1464050Z +   --> $DIR/regions-outlives-projection-container.rs:54:13
2019-08-12T10:12:55.1464091Z 20    |
2019-08-12T10:12:55.1464091Z 20    |
2019-08-12T10:12:55.1464304Z 21 LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1464391Z 
2019-08-12T10:12:55.1464424Z 23    |
2019-08-12T10:12:55.1464424Z 23    |
2019-08-12T10:12:55.1465292Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 54:18
2019-08-12T10:12:55.1465596Z -   --> $DIR/regions-outlives-projection-container.rs:54:18
2019-08-12T10:12:55.1466024Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-12T10:12:55.1466310Z +   --> $DIR/regions-outlives-projection-container.rs:50:18
2019-08-12T10:12:55.1466358Z 26    |
2019-08-12T10:12:55.1466644Z 27 LL | fn without_assoc<'a,'b>() {
2019-08-12T10:12:55.1466737Z 
2019-08-12T10:12:55.1466737Z 
2019-08-12T10:12:55.1467029Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 54:21
2019-08-12T10:12:55.1467284Z -   --> $DIR/regions-outlives-projection-container.rs:54:21
2019-08-12T10:12:55.1467594Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-12T10:12:55.1467851Z +   --> $DIR/regions-outlives-projection-container.rs:50:21
2019-08-12T10:12:55.1467898Z 31    |
2019-08-12T10:12:55.1468136Z 32 LL | fn without_assoc<'a,'b>() {
2019-08-12T10:12:55.1468221Z 
2019-08-12T10:12:55.1468259Z 34 
2019-08-12T10:12:55.1468259Z 34 
2019-08-12T10:12:55.1468585Z 35 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1469101Z +   --> $DIR/regions-outlives-projection-container.rs:63:12
2019-08-12T10:12:55.1469164Z 37    |
2019-08-12T10:12:55.1469164Z 37    |
2019-08-12T10:12:55.1469398Z 38 LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-12T10:12:55.1469478Z 
2019-08-12T10:12:55.1469534Z 40    |
2019-08-12T10:12:55.1469534Z 40    |
2019-08-12T10:12:55.1469808Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 62:20
2019-08-12T10:12:55.1470062Z -   --> $DIR/regions-outlives-projection-container.rs:62:20
2019-08-12T10:12:55.1470358Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-12T10:12:55.1471587Z +   --> $DIR/regions-outlives-projection-container.rs:58:20
2019-08-12T10:12:55.1471657Z 43    |
2019-08-12T10:12:55.1471899Z 44 LL | fn call_with_assoc<'a,'b>() {
2019-08-12T10:12:55.1471980Z 
2019-08-12T10:12:55.1471980Z 
2019-08-12T10:12:55.1472253Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 62:23
2019-08-12T10:12:55.1472510Z -   --> $DIR/regions-outlives-projection-container.rs:62:23
2019-08-12T10:12:55.1472784Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-12T10:12:55.1473022Z +   --> $DIR/regions-outlives-projection-container.rs:58:23
2019-08-12T10:12:55.1473083Z 48    |
2019-08-12T10:12:55.1473291Z 49 LL | fn call_with_assoc<'a,'b>() {
2019-08-12T10:12:55.1473380Z 
2019-08-12T10:12:55.1473415Z 51 
2019-08-12T10:12:55.1473415Z 51 
2019-08-12T10:12:55.1473696Z 52 error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1474461Z +   --> $DIR/regions-outlives-projection-container.rs:70:12
2019-08-12T10:12:55.1474517Z 54    |
2019-08-12T10:12:55.1474517Z 54    |
2019-08-12T10:12:55.1475319Z 55 LL |     call::<&'a WithoutAssoc<TheType<'b>>>();
2019-08-12T10:12:55.1475434Z 
2019-08-12T10:12:55.1475472Z 57    |
2019-08-12T10:12:55.1475472Z 57    |
2019-08-12T10:12:55.1475785Z - note: the pointer is valid for the lifetime 'a as defined on the function body at 71:23
2019-08-12T10:12:55.1476042Z -   --> $DIR/regions-outlives-projection-container.rs:71:23
2019-08-12T10:12:55.1476321Z + note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-12T10:12:55.1476592Z +   --> $DIR/regions-outlives-projection-container.rs:67:23
2019-08-12T10:12:55.1476638Z 60    |
2019-08-12T10:12:55.1476867Z 61 LL | fn call_without_assoc<'a,'b>() {
2019-08-12T10:12:55.1477075Z 
2019-08-12T10:12:55.1477075Z 
2019-08-12T10:12:55.1477404Z - note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 71:26
2019-08-12T10:12:55.1477664Z -   --> $DIR/regions-outlives-projection-container.rs:71:26
2019-08-12T10:12:55.1477979Z + note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-12T10:12:55.1478343Z +   --> $DIR/regions-outlives-projection-container.rs:67:26
2019-08-12T10:12:55.1478387Z 65    |
2019-08-12T10:12:55.1478611Z 66 LL | fn call_without_assoc<'a,'b>() {
2019-08-12T10:12:55.1478681Z 
2019-08-12T10:12:55.1478705Z 
2019-08-12T10:12:55.1478760Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1479091Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-12T10:12:55.1479091Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/regions-outlives-projection-container.stderr
2019-08-12T10:12:55.1479355Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1479754Z To only update this specific test, also pass `--test-args regions/regions-outlives-projection-container.rs`
2019-08-12T10:12:55.1479824Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1479877Z status: exit code: 1
2019-08-12T10:12:55.1479877Z status: exit code: 1
2019-08-12T10:12:55.1480568Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/regions/regions-outlives-projection-container.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/regions/regions-outlives-projection-container/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1480878Z ------------------------------------------
2019-08-12T10:12:55.1480916Z 
2019-08-12T10:12:55.1481133Z ------------------------------------------
2019-08-12T10:12:55.1481173Z stderr:
2019-08-12T10:12:55.1481173Z stderr:
2019-08-12T10:12:55.1481372Z ------------------------------------------
2019-08-12T10:12:55.1481631Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1481940Z    |
2019-08-12T10:12:55.1481940Z    |
2019-08-12T10:12:55.1482164Z LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1482244Z    |
2019-08-12T10:12:55.1482244Z    |
2019-08-12T10:12:55.1482480Z note: the pointer is valid for the lifetime 'a as defined on the function body at 28:15
2019-08-12T10:12:55.1482787Z    |
2019-08-12T10:12:55.1482787Z    |
2019-08-12T10:12:55.1482979Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1483113Z    |               ^^
2019-08-12T10:12:55.1483397Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 28:18
2019-08-12T10:12:55.1483855Z    |
2019-08-12T10:12:55.1483855Z    |
2019-08-12T10:12:55.1484084Z LL | fn with_assoc<'a,'b>() {
2019-08-12T10:12:55.1484148Z 
2019-08-12T10:12:55.1484148Z 
2019-08-12T10:12:55.1484430Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1485199Z    |
2019-08-12T10:12:55.1485199Z    |
2019-08-12T10:12:55.1485514Z LL |     let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2019-08-12T10:12:55.1485743Z    |
2019-08-12T10:12:55.1485743Z    |
2019-08-12T10:12:55.1486105Z note: the pointer is valid for the lifetime 'a as defined on the function body at 50:18
2019-08-12T10:12:55.1486462Z    |
2019-08-12T10:12:55.1486462Z    |
2019-08-12T10:12:55.1486716Z LL | fn without_assoc<'a,'b>() {
2019-08-12T10:12:55.1486767Z    |                  ^^
2019-08-12T10:12:55.1487075Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 50:21
2019-08-12T10:12:55.1487441Z    |
2019-08-12T10:12:55.1487441Z    |
2019-08-12T10:12:55.1487677Z LL | fn without_assoc<'a,'b>() {
2019-08-12T10:12:55.1487774Z 
2019-08-12T10:12:55.1487774Z 
2019-08-12T10:12:55.1488207Z error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1488633Z    |
2019-08-12T10:12:55.1488633Z    |
2019-08-12T10:12:55.1488845Z LL |     call::<&'a WithAssoc<TheType<'b>>>();
2019-08-12T10:12:55.1488940Z    |
2019-08-12T10:12:55.1488940Z    |
2019-08-12T10:12:55.1489180Z note: the pointer is valid for the lifetime 'a as defined on the function body at 58:20
2019-08-12T10:12:55.1489480Z    |
2019-08-12T10:12:55.1489480Z    |
2019-08-12T10:12:55.1489672Z LL | fn call_with_assoc<'a,'b>() {
2019-08-12T10:12:55.1489714Z    |                    ^^
2019-08-12T10:12:55.1489965Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 58:23
2019-08-12T10:12:55.1490265Z    |
2019-08-12T10:12:55.1490265Z    |
2019-08-12T10:12:55.1490455Z LL | fn call_with_assoc<'a,'b>() {
2019-08-12T10:12:55.1490545Z 
2019-08-12T10:12:55.1490545Z 
2019-08-12T10:12:55.1490812Z error[E0491]: in type `&'a WithoutAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2019-08-12T10:12:55.1491113Z    |
2019-08-12T10:12:55.1491113Z    |
2019-08-12T10:12:55.1491523Z LL |     call::<&'a WithoutAssoc<TheType<'b>>>(); //~ ERROR reference has a longer lifetime
2019-08-12T10:12:55.1491627Z    |
2019-08-12T10:12:55.1491627Z    |
2019-08-12T10:12:55.1491867Z note: the pointer is valid for the lifetime 'a as defined on the function body at 67:23
2019-08-12T10:12:55.1492170Z    |
2019-08-12T10:12:55.1492170Z    |
2019-08-12T10:12:55.1492363Z LL | fn call_without_assoc<'a,'b>() {
2019-08-12T10:12:55.1492405Z    |                       ^^
2019-08-12T10:12:55.1492673Z note: but the referenced data is only valid for the lifetime 'b as defined on the function body at 67:26
2019-08-12T10:12:55.1493067Z    |
2019-08-12T10:12:55.1493067Z    |
2019-08-12T10:12:55.1493308Z LL | fn call_without_assoc<'a,'b>() {
2019-08-12T10:12:55.1493377Z 
2019-08-12T10:12:55.1493413Z error: aborting due to 4 previous errors
2019-08-12T10:12:55.1493453Z 
2019-08-12T10:12:55.1493680Z For more information about this error, try `rustc --explain E0491`.
2019-08-12T10:12:55.1493680Z For more information about this error, try `rustc --explain E0491`.
2019-08-12T10:12:55.1493710Z 
2019-08-12T10:12:55.1493910Z ------------------------------------------
2019-08-12T10:12:55.1493956Z 
2019-08-12T10:12:55.1493978Z 
2019-08-12T10:12:55.1494207Z ---- [ui] ui/specialization/defaultimpl/specialization-no-default.rs stdout ----
2019-08-12T10:12:55.1494251Z diff of stderr:
2019-08-12T10:12:55.1494290Z 
2019-08-12T10:12:55.1494333Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1495511Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-12T10:12:55.1495561Z 3    |
2019-08-12T10:12:55.1495561Z 3    |
2019-08-12T10:12:55.1495602Z 4 LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1495644Z 5 LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1495690Z 
2019-08-12T10:12:55.1495736Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1495780Z 14 
2019-08-12T10:12:55.1495846Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1496332Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-12T10:12:55.1496394Z 17    |
2019-08-12T10:12:55.1496394Z 17    |
2019-08-12T10:12:55.1496435Z 18 LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1496477Z 19 LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1496504Z 
2019-08-12T10:12:55.1496578Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1496628Z 28 
2019-08-12T10:12:55.1496678Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1497183Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-12T10:12:55.1497228Z 31    |
2019-08-12T10:12:55.1497228Z 31    |
2019-08-12T10:12:55.1497269Z 32 LL | / impl<T> Bar for T {
2019-08-12T10:12:55.1497331Z 33 LL | |     type T = u8;
2019-08-12T10:12:55.1497357Z 
2019-08-12T10:12:55.1497403Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1497463Z 41 
2019-08-12T10:12:55.1497512Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1498010Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-12T10:12:55.1498065Z 44    |
2019-08-12T10:12:55.1498065Z 44    |
2019-08-12T10:12:55.1498106Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-12T10:12:55.1498277Z 46 LL | |     fn baz(&self) {}
2019-08-12T10:12:55.1498318Z 
2019-08-12T10:12:55.1498358Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1498395Z 54 
2019-08-12T10:12:55.1498454Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1498881Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-12T10:12:55.1498936Z 57    |
2019-08-12T10:12:55.1498936Z 57    |
2019-08-12T10:12:55.1498973Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-12T10:12:55.1499010Z 59 LL | |     fn redundant(&self) {}
2019-08-12T10:12:55.1499056Z 
2019-08-12T10:12:55.1499110Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1499417Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-12T10:12:55.1499417Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/specialization-no-default.stderr
2019-08-12T10:12:55.1499787Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1500101Z To only update this specific test, also pass `--test-args specialization/defaultimpl/specialization-no-default.rs`
2019-08-12T10:12:55.1500173Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1500227Z status: exit code: 1
2019-08-12T10:12:55.1500227Z status: exit code: 1
2019-08-12T10:12:55.1500939Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/defaultimpl/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/defaultimpl/specialization-no-default/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1501351Z ------------------------------------------
2019-08-12T10:12:55.1501382Z 
2019-08-12T10:12:55.1501604Z ------------------------------------------
2019-08-12T10:12:55.1501643Z stderr:
2019-08-12T10:12:55.1501643Z stderr:
2019-08-12T10:12:55.1501841Z ------------------------------------------
2019-08-12T10:12:55.1501906Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1502198Z    |
2019-08-12T10:12:55.1502198Z    |
2019-08-12T10:12:55.1502249Z LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1502286Z LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1502323Z LL | |     fn bar(&self) {}
2019-08-12T10:12:55.1502373Z LL | | }
2019-08-12T10:12:55.1502566Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1502612Z ...
2019-08-12T10:12:55.1502649Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1502713Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-12T10:12:55.1502752Z    |
2019-08-12T10:12:55.1502792Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1502836Z 
2019-08-12T10:12:55.1502878Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1503187Z    |
2019-08-12T10:12:55.1503187Z    |
2019-08-12T10:12:55.1503223Z LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1503259Z LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1503295Z LL | |     fn bar(&self) {}
2019-08-12T10:12:55.1503346Z LL | | }
2019-08-12T10:12:55.1503537Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1503575Z ...
2019-08-12T10:12:55.1503629Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1503679Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-12T10:12:55.1503722Z    |
2019-08-12T10:12:55.1503779Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1503806Z 
2019-08-12T10:12:55.1503848Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1504154Z    |
2019-08-12T10:12:55.1504154Z    |
2019-08-12T10:12:55.1504188Z LL | / impl<T> Bar for T {
2019-08-12T10:12:55.1504224Z LL | |     type T = u8;
2019-08-12T10:12:55.1504274Z LL | | }
2019-08-12T10:12:55.1504465Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1504503Z ...
2019-08-12T10:12:55.1504555Z LL |       type T = (); //~ ERROR E0520
2019-08-12T10:12:55.1504596Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-12T10:12:55.1504632Z    |
2019-08-12T10:12:55.1505066Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1505137Z 
2019-08-12T10:12:55.1505294Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1505723Z    |
2019-08-12T10:12:55.1505723Z    |
2019-08-12T10:12:55.1505765Z LL | / impl<T: Clone> Baz for T {
2019-08-12T10:12:55.1505807Z LL | |     fn baz(&self) {}
2019-08-12T10:12:55.1505864Z LL | | }
2019-08-12T10:12:55.1506084Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1506127Z ...
2019-08-12T10:12:55.1506170Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1506234Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-12T10:12:55.1506275Z    |
2019-08-12T10:12:55.1506322Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1506370Z 
2019-08-12T10:12:55.1506419Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1506891Z    |
2019-08-12T10:12:55.1506891Z    |
2019-08-12T10:12:55.1506933Z LL | / impl<T: Clone> Redundant for T {
2019-08-12T10:12:55.1506977Z LL | |     fn redundant(&self) {}
2019-08-12T10:12:55.1507017Z LL | | }
2019-08-12T10:12:55.1507257Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1507301Z ...
2019-08-12T10:12:55.1507345Z LL |       fn redundant(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1507411Z    |       ^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-12T10:12:55.1507453Z    |
2019-08-12T10:12:55.1507500Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1507594Z error: aborting due to 5 previous errors
2019-08-12T10:12:55.1507621Z 
2019-08-12T10:12:55.1507881Z For more information about this error, try `rustc --explain E0520`.
2019-08-12T10:12:55.1507924Z 
2019-08-12T10:12:55.1507924Z 
2019-08-12T10:12:55.1508275Z ------------------------------------------
2019-08-12T10:12:55.1508314Z 
2019-08-12T10:12:55.1508460Z 
2019-08-12T10:12:55.1508683Z ---- [ui] ui/specialization/specialization-no-default.rs stdout ----
2019-08-12T10:12:55.1508742Z diff of stderr:
2019-08-12T10:12:55.1508765Z 
2019-08-12T10:12:55.1508807Z 1 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1509250Z +   --> $DIR/specialization-no-default.rs:20:5
2019-08-12T10:12:55.1509290Z 3    |
2019-08-12T10:12:55.1509290Z 3    |
2019-08-12T10:12:55.1509325Z 4 LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1509379Z 5 LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1509403Z 
2019-08-12T10:12:55.1509443Z 13    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1509497Z 14 
2019-08-12T10:12:55.1509540Z 15 error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1509994Z +   --> $DIR/specialization-no-default.rs:23:5
2019-08-12T10:12:55.1510034Z 17    |
2019-08-12T10:12:55.1510034Z 17    |
2019-08-12T10:12:55.1510070Z 18 LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1510106Z 19 LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1510145Z 
2019-08-12T10:12:55.1510184Z 27    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1510221Z 28 
2019-08-12T10:12:55.1510279Z 29 error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1510699Z +   --> $DIR/specialization-no-default.rs:37:5
2019-08-12T10:12:55.1510739Z 31    |
2019-08-12T10:12:55.1510739Z 31    |
2019-08-12T10:12:55.1510789Z 32 LL | / impl<T> Bar for T {
2019-08-12T10:12:55.1510826Z 33 LL | |     type T = u8;
2019-08-12T10:12:55.1510849Z 
2019-08-12T10:12:55.1510914Z 40    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1511022Z 41 
2019-08-12T10:12:55.1511072Z 42 error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1511536Z +   --> $DIR/specialization-no-default.rs:55:5
2019-08-12T10:12:55.1511576Z 44    |
2019-08-12T10:12:55.1511576Z 44    |
2019-08-12T10:12:55.1511612Z 45 LL | / impl<T: Clone> Baz for T {
2019-08-12T10:12:55.1511665Z 46 LL | |     fn baz(&self) {}
2019-08-12T10:12:55.1511689Z 
2019-08-12T10:12:55.1511730Z 53    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1511782Z 54 
2019-08-12T10:12:55.1511825Z 55 error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1512313Z +   --> $DIR/specialization-no-default.rs:74:5
2019-08-12T10:12:55.1512452Z 57    |
2019-08-12T10:12:55.1512452Z 57    |
2019-08-12T10:12:55.1512495Z 58 LL | / impl<T: Clone> Redundant for T {
2019-08-12T10:12:55.1512533Z 59 LL | |     fn redundant(&self) {}
2019-08-12T10:12:55.1512596Z 
2019-08-12T10:12:55.1512633Z The actual stderr differed from the expected stderr.
2019-08-12T10:12:55.1512956Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-12T10:12:55.1512956Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/specialization-no-default.stderr
2019-08-12T10:12:55.1513217Z To update references, rerun the tests and pass the `--bless` flag
2019-08-12T10:12:55.1513478Z To only update this specific test, also pass `--test-args specialization/specialization-no-default.rs`
2019-08-12T10:12:55.1513562Z error: 1 errors occurred comparing output.
2019-08-12T10:12:55.1513600Z status: exit code: 1
2019-08-12T10:12:55.1513600Z status: exit code: 1
2019-08-12T10:12:55.1514438Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/specialization/specialization-no-default.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/specialization/specialization-no-default/auxiliary" "-A" "unused"
2019-08-12T10:12:55.1515177Z ------------------------------------------
2019-08-12T10:12:55.1515247Z 
2019-08-12T10:12:55.1515535Z ------------------------------------------
2019-08-12T10:12:55.1515581Z stderr:
2019-08-12T10:12:55.1515581Z stderr:
2019-08-12T10:12:55.1515826Z ------------------------------------------
2019-08-12T10:12:55.1515881Z error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1516233Z    |
2019-08-12T10:12:55.1516233Z    |
2019-08-12T10:12:55.1516281Z LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1516324Z LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1516382Z LL | |     fn bar(&self) {}
2019-08-12T10:12:55.1516422Z LL | | }
2019-08-12T10:12:55.1516643Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1516686Z ...
2019-08-12T10:12:55.1516745Z LL |       fn foo(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1516793Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `foo`
2019-08-12T10:12:55.1516836Z    |
2019-08-12T10:12:55.1516900Z    = note: to specialize, `foo` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1516931Z 
2019-08-12T10:12:55.1516978Z error[E0520]: `bar` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1517312Z    |
2019-08-12T10:12:55.1517312Z    |
2019-08-12T10:12:55.1517352Z LL | / impl<T> Foo for T {
2019-08-12T10:12:55.1517401Z LL | |     fn foo(&self) {}
2019-08-12T10:12:55.1517570Z LL | |     fn bar(&self) {}
2019-08-12T10:12:55.1517619Z LL | | }
2019-08-12T10:12:55.1517869Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1517930Z ...
2019-08-12T10:12:55.1517974Z LL |       fn bar(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1518021Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `bar`
2019-08-12T10:12:55.1518081Z    |
2019-08-12T10:12:55.1518127Z    = note: to specialize, `bar` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1518157Z 
2019-08-12T10:12:55.1518205Z error[E0520]: `T` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1518543Z    |
2019-08-12T10:12:55.1518543Z    |
2019-08-12T10:12:55.1518583Z LL | / impl<T> Bar for T {
2019-08-12T10:12:55.1518641Z LL | |     type T = u8;
2019-08-12T10:12:55.1518680Z LL | | }
2019-08-12T10:12:55.1519005Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1519050Z ...
2019-08-12T10:12:55.1519122Z LL |       type T = (); //~ ERROR E0520
2019-08-12T10:12:55.1519170Z    |       ^^^^^^^^^^^^ cannot specialize default item `T`
2019-08-12T10:12:55.1519211Z    |
2019-08-12T10:12:55.1519272Z    = note: to specialize, `T` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1519303Z 
2019-08-12T10:12:55.1519350Z error[E0520]: `baz` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1519700Z    |
2019-08-12T10:12:55.1519700Z    |
2019-08-12T10:12:55.1519741Z LL | / impl<T: Clone> Baz for T {
2019-08-12T10:12:55.1519784Z LL | |     fn baz(&self) {}
2019-08-12T10:12:55.1519840Z LL | | }
2019-08-12T10:12:55.1520058Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1520101Z ...
2019-08-12T10:12:55.1520211Z LL |       fn baz(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1520267Z    |       ^^^^^^^^^^^^^^^^ cannot specialize default item `baz`
2019-08-12T10:12:55.1520309Z    |
2019-08-12T10:12:55.1520378Z    = note: to specialize, `baz` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1520408Z 
2019-08-12T10:12:55.1520458Z error[E0520]: `redundant` specializes an item from a parent `impl`, but that item is not marked `default`
2019-08-12T10:12:55.1520795Z    |
2019-08-12T10:12:55.1520795Z    |
2019-08-12T10:12:55.1520837Z LL | / impl<T: Clone> Redundant for T {
2019-08-12T10:12:55.1520880Z LL | |     fn redundant(&self) {}
2019-08-12T10:12:55.1520988Z LL | | }
2019-08-12T10:12:55.1521205Z    | |_- parent `impl` is here
2019-08-12T10:12:55.1521248Z ...
2019-08-12T10:12:55.1521308Z LL |       default fn redundant(&self) {} //~ ERROR E0520
2019-08-12T10:12:55.1521360Z    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item `redundant`
2019-08-12T10:12:55.1521403Z    |
2019-08-12T10:12:55.1521473Z    = note: to specialize, `redundant` in the parent `impl` must be marked `default`
2019-08-12T10:12:55.1521553Z error: aborting due to 5 previous errors
2019-08-12T10:12:55.1521581Z 
2019-08-12T10:12:55.1521840Z For more information about this error, try `rustc --explain E0520`.
2019-08-12T10:12:55.1521891Z 
---
2019-08-12T10:12:55.1532284Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-08-12T10:12:55.1532374Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-08-12T10:12:55.1532406Z 
2019-08-12T10:12:55.1532430Z 
2019-08-12T10:12:55.1556999Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-08-12T10:12:55.1557310Z 
2019-08-12T10:12:55.1557355Z 
2019-08-12T10:12:55.1557403Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-08-12T10:12:55.1557455Z Build completed unsuccessfully in 1:05:34
2019-08-12T10:12:55.1557455Z Build completed unsuccessfully in 1:05:34
2019-08-12T10:12:55.9327406Z ##[error]Bash exited with code '1'.
2019-08-12T10:12:55.9381613Z ##[section]Starting: Checkout
2019-08-12T10:12:55.9383652Z ==============================================================================
2019-08-12T10:12:55.9383734Z Task         : Get sources
2019-08-12T10:12:55.9383789Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

Centril added a commit to Centril/rust that referenced this pull request Aug 12, 2019
…om-src/libcore/hash, r=Centril

Remove unneeded comment in src/libcore/hash/mod.rs

Split out from larger PR rust-lang#63347 - other sections in there require further discussion.

r? @Centril
Centril added a commit to Centril/rust that referenced this pull request Aug 13, 2019
…om-src/libcore/hash, r=Centril

Remove unneeded comment in src/libcore/hash/mod.rs

Split out from larger PR rust-lang#63347 - other sections in there require further discussion.

r? @Centril
Centril added a commit to Centril/rust that referenced this pull request Aug 13, 2019
…om-src/libcore/hash, r=Centril

Remove unneeded comment in src/libcore/hash/mod.rs

Split out from larger PR rust-lang#63347 - other sections in there require further discussion.

r? @Centril
Centril added a commit to Centril/rust that referenced this pull request Aug 14, 2019
…om-src/libcore/hash, r=Centril

Remove unneeded comment in src/libcore/hash/mod.rs

Split out from larger PR rust-lang#63347 - other sections in there require further discussion.

r? @Centril
Centril added a commit to Centril/rust that referenced this pull request Aug 14, 2019
…om-src/libcore/hash, r=Centril

Remove unneeded comment in src/libcore/hash/mod.rs

Split out from larger PR rust-lang#63347 - other sections in there require further discussion.

r? @Centril
@bors
Copy link
Contributor

bors commented Aug 14, 2019

☔ The latest upstream changes (presumably #63544) made this pull request unmergeable. Please resolve the merge conflicts.

@sd234678
Copy link
Contributor Author

sd234678 commented Aug 20, 2019

@Centril I've reviewed each file in this and tried to maintain decoration where the comments don't already stand out sufficiently in the file.

I've also removed the decoration where unneeded in comments in the format

// ----- comment -------------

or the following format

// comment 1 ----------------
// comment two --------------

Does anyone have any strong opinions on any of these files?

Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in src/test look good aside from the comments below. Can you extract those to a separate PR including with the comments I've left?

As for the other changes in the code, I continue to feel conflicted about doing the changes there.
It's not clear to me that it is a win and perhaps it's best to just not rock the boat?

src/test/ui/consts/min_const_fn/min_const_fn_unsafe.rs Outdated Show resolved Hide resolved
src/test/ui/issues/issue-31776.rs Outdated Show resolved Hide resolved
@Centril
Copy link
Contributor

Centril commented Aug 20, 2019

r? @nikomatsakis

@rust-highfive
Copy link
Collaborator

The job LinuxTools of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-08-21T07:04:31.8441094Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-08-21T07:04:31.8658331Z ##[command]git config gc.auto 0
2019-08-21T07:04:31.8710476Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-08-21T07:04:31.8761884Z ##[command]git config --get-all http.proxy
2019-08-21T07:04:31.8889792Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63347/merge:refs/remotes/pull/63347/merge
---
2019-08-21T07:05:07.1661630Z do so (now or later) by using -b with the checkout command again. Example:
2019-08-21T07:05:07.1661654Z 
2019-08-21T07:05:07.1661805Z   git checkout -b <new-branch-name>
2019-08-21T07:05:07.1661843Z 
2019-08-21T07:05:07.1661879Z HEAD is now at bac726845 Merge 42ebadb55a633ca6921ee884443cc5311c622351 into bea0372a1a7a31b81f28cc4d9a83a2dc9a79d008
2019-08-21T07:05:07.1800452Z ##[section]Finishing: Checkout
2019-08-21T07:05:07.1806308Z ##[section]Starting: Decide whether to run this job
2019-08-21T07:05:07.1810042Z Task         : Bash
2019-08-21T07:05:07.1810080Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-08-21T07:05:07.1810145Z Version      : 3.151.3
2019-08-21T07:05:07.1810180Z Author       : Microsoft Corporation
2019-08-21T07:05:07.1810180Z Author       : Microsoft Corporation
2019-08-21T07:05:07.1810218Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-08-21T07:05:07.1810276Z ==============================================================================
2019-08-21T07:05:07.2964716Z Generating script.
2019-08-21T07:05:07.2993248Z ========================== Starting Command Output ===========================
2019-08-21T07:05:07.3014292Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/07629fb4-f683-4fb5-bb68-94d9149d589b.sh
2019-08-21T07:05:07.3931402Z Executing the job since submodules are updated
2019-08-21T07:05:07.4010418Z ##[section]Finishing: Decide whether to run this job
2019-08-21T07:05:07.4018724Z ==============================================================================
2019-08-21T07:05:07.4018832Z Task         : Bash
2019-08-21T07:05:07.4019053Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-08-21T07:05:07.4019101Z Version      : 3.151.3
---
2019-08-21T07:07:51.7828431Z extracting /checkout/obj/build/cache/2019-08-13/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
2019-08-21T07:07:51.7828674Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-08-21T07:07:51.7828857Z 
2019-08-21T07:07:51.7829029Z Caused by:
2019-08-21T07:07:51.7829390Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-08-21T07:07:51.7829680Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
2019-08-21T07:07:51.7829730Z Build completed unsuccessfully in 0:00:20
2019-08-21T07:07:51.7830154Z Makefile:67: recipe for target 'prepare' failed
2019-08-21T07:07:52.3909397Z Command failed. Attempt 2/5:
2019-08-21T07:07:52.4742461Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-08-21T07:07:52.4742966Z 
2019-08-21T07:07:52.4743210Z Caused by:
2019-08-21T07:07:52.4743210Z Caused by:
2019-08-21T07:07:52.4744517Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-08-21T07:07:52.4750708Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
2019-08-21T07:07:52.4751219Z Build completed unsuccessfully in 0:00:00
2019-08-21T07:07:52.4781714Z Makefile:67: recipe for target 'prepare' failed
2019-08-21T07:07:54.4798206Z Command failed. Attempt 3/5:
2019-08-21T07:07:54.5622200Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-08-21T07:07:54.5622343Z 
2019-08-21T07:07:54.5622397Z Caused by:
2019-08-21T07:07:54.5622397Z Caused by:
2019-08-21T07:07:54.5622811Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-08-21T07:07:54.5627425Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
2019-08-21T07:07:54.5654712Z make: *** [prepare] Error 1
2019-08-21T07:07:54.5654712Z make: *** [prepare] Error 1
2019-08-21T07:07:54.5655305Z Makefile:67: recipe for target 'prepare' failed
2019-08-21T07:07:57.6485507Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-08-21T07:07:57.6485639Z 
2019-08-21T07:07:57.6485733Z Caused by:
2019-08-21T07:07:57.6485733Z Caused by:
2019-08-21T07:07:57.6486075Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-08-21T07:07:57.6496040Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
2019-08-21T07:07:57.6528947Z make: *** [prepare] Error 1
2019-08-21T07:07:57.6528947Z make: *** [prepare] Error 1
2019-08-21T07:07:57.6530122Z Makefile:67: recipe for target 'prepare' failed
2019-08-21T07:08:01.7378842Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-08-21T07:08:01.7379412Z 
2019-08-21T07:08:01.7379988Z Caused by:
2019-08-21T07:08:01.7379988Z Caused by:
2019-08-21T07:08:01.7380781Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-08-21T07:08:01.7385306Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
2019-08-21T07:08:01.7421711Z make: *** [prepare] Error 1
2019-08-21T07:08:01.7421711Z make: *** [prepare] Error 1
2019-08-21T07:08:01.7422595Z Makefile:67: recipe for target 'prepare' failed
2019-08-21T07:08:01.7426938Z == clock drift check ==
2019-08-21T07:08:01.7431406Z   local time: Wed Aug 21 07:08:01 UTC 2019
2019-08-21T07:08:01.7949548Z   network time: Wed, 21 Aug 2019 07:08:01 GMT
2019-08-21T07:08:01.7953515Z == end clock drift check ==
2019-08-21T07:08:01.7953515Z == end clock drift check ==
2019-08-21T07:08:17.9728639Z ##[error]Bash exited with code '1'.
2019-08-21T07:08:17.9781448Z ##[section]Starting: Checkout
2019-08-21T07:08:17.9783071Z ==============================================================================
2019-08-21T07:08:17.9783127Z Task         : Get sources
2019-08-21T07:08:17.9783185Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

Copy link
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the desire to clean things up. That said, personally, I'm inclined to leave the section headers. Some of them may be superfluous but overall I find them helpful for giving some "structure" to the files. Perhaps that's because I added a lot of them, though. =)

I guess overall it's not something I have a super strong opinion about, but it seems like all of us reviewers are kind of "slightly negative", which makes me think it's not worth the trouble to make the change.

@@ -49,10 +49,8 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {

let ptr_size = self.pointer_size();
let ptr_align = self.tcx.data_layout.pointer_align.abi;
// /////////////////////////////////////////////////////////////////////////////////////////
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely want these, I think, as the whole point of this comment is to stand out

@@ -97,10 +97,8 @@ pub fn get_vtable<'tcx, Cx: CodegenMethods<'tcx>>(
});

let layout = cx.layout_of(ty);
// /////////////////////////////////////////////////////////////////////////////////////////////
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely want these, I think, as the whole point of this comment is to stand out

@sd234678
Copy link
Contributor Author

Thanks @nikomatsakis. With the ones that've been extracted into other PRs as suggested by Centril a fair amount of the superfluous ones have been removed so I'm happy for this to be closed if you think that's enough.

@nikomatsakis
Copy link
Contributor

@sd234678 thanks for understanding. Closing.

@sd234678 sd234678 deleted the 62601-remove-meaningless-comment-decorators branch September 2, 2019 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Meaningless usage of comment decorators
6 participants