about summary refs log tree commit diff
path: root/tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr
diff options
context:
space:
mode:
authornxya <nathacutlan@gmail.com>2023-07-18 21:53:34 -0400
committernxya <nathacutlan@gmail.com>2023-07-18 21:53:34 -0400
commita54a66830db71252f56ac851b9d03e4d8a9d75f4 (patch)
tree61cf91a142f329f30dc6f04d66a8e965d3c0e6c5 /tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr
parente6e88920514d2428130fe1d95ae30ae538ac8644 (diff)
downloadrust-a54a66830db71252f56ac851b9d03e4d8a9d75f4.tar.gz
rust-a54a66830db71252f56ac851b9d03e4d8a9d75f4.zip
moved note as unspanned note, moved note to the bottom of the msg
Diffstat (limited to 'tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr')
-rw-r--r--tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr b/tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr
index 40b3bcec243..51bf0cb5e5c 100644
--- a/tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr
+++ b/tests/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr
@@ -4,11 +4,6 @@ error[E0391]: cycle detected when elaborating drops for `<impl at $DIR/issue-249
 LL |     const BAR: u32 = IMPL_REF_BAR;
    |                      ^^^^^^^^^^^^
    |
-note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
-  --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:12:22
-   |
-LL |     const BAR: u32 = IMPL_REF_BAR;
-   |                      ^^^^^^^^^^^^
 note: ...which requires const-evaluating + checking `IMPL_REF_BAR`...
   --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:7:1
    |
@@ -31,6 +26,7 @@ LL |     const BAR: u32 = IMPL_REF_BAR;
    |     ^^^^^^^^^^^^^^
    = note: ...which again requires elaborating drops for `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 11:19>::BAR`, completing the cycle
    = note: cycle used when running analysis passes on this crate
+   = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
 
 error: aborting due to previous error