From bea94398e8cd0469df592d9bbb42de9c847d7cf7 Mon Sep 17 00:00:00 2001 From: Benno Tielen Date: Wed, 20 Jul 2022 12:37:58 +0200 Subject: [PATCH] Improve project toolchain (#1084) - switch from `skeptic` to mdBook native tests - refactor `juniper_integration_tests` to be granular - make `cargo test` command fully compatible with stable Rust - adjust outdated Contribution Guide Additionally: - fix codegen tests on latest nightly Rust --- .github/workflows/ci.yml | 53 +++-- CONTRIBUTING.md | 13 +- Cargo.toml | 1 - Makefile | 8 +- book/README.md | 15 +- book/src/advanced/subscriptions.md | 7 +- book/src/types/objects/using_contexts.md | 1 + book/src/types/scalars.md | 6 + book/tests/Cargo.toml | 22 -- book/tests/build.rs | 4 - book/tests/src/lib.rs | 3 - tests/codegen/Cargo.toml | 7 +- ...tr_additional_non_nullable_argument.stderr | 4 +- .../attr_implementers_duplicate_pretty.stderr | 6 +- .../attr_implementers_duplicate_ugly.stderr | 2 +- .../struct/attr_missing_field.stderr | 220 +++++++++--------- .../struct/attr_missing_for_attr.stderr | 2 +- .../struct/attr_missing_impl_attr.stderr | 2 +- .../attr_missing_transitive_impl.stderr | 2 +- .../struct/attr_non_subtype_return.stderr | 4 +- ...ve_additional_non_nullable_argument.stderr | 4 +- ...erive_implementers_duplicate_pretty.stderr | 6 +- .../derive_implementers_duplicate_ugly.stderr | 2 +- .../struct/derive_missing_field.stderr | 220 +++++++++--------- .../struct/derive_missing_for_attr.stderr | 2 +- .../struct/derive_missing_impl_attr.stderr | 2 +- .../derive_missing_transitive_impl.stderr | 2 +- .../struct/derive_non_subtype_return.stderr | 4 +- .../additional_non_nullable_argument.stderr | 4 +- .../implementers_duplicate_pretty.stderr | 6 +- .../trait/implementers_duplicate_ugly.stderr | 2 +- .../fail/interface/trait/missing_field.stderr | 220 +++++++++--------- .../trait/missing_field_argument.stderr | 4 +- .../interface/trait/missing_for_attr.stderr | 2 +- .../interface/trait/missing_impl_attr.stderr | 2 +- .../trait/missing_transitive_impl.stderr | 2 +- .../interface/trait/non_subtype_return.stderr | 4 +- .../trait/wrong_argument_type.stderr | 4 +- .../fail/union/enum_same_type_ugly.stderr | 4 +- .../fail/union/struct_same_type_ugly.stderr | 4 +- .../fail/union/trait_same_type_ugly.stderr | 4 +- tests/codegen/src/lib.rs | 35 +-- tests/integration/Cargo.toml | 8 +- tests/integration/src/codegen/mod.rs | 15 -- .../src/infallible_as_field_error.rs | 8 - tests/integration/src/lib.rs | 101 -------- .../integration/{src => tests}/arc_fields.rs | 6 +- tests/integration/{src => tests}/array.rs | 0 .../codegen_derive_object_with_raw_idents.rs} | 0 .../codegen_enum_derive.rs} | 7 +- .../codegen_input_object_derive.rs} | 4 +- .../codegen_interface_attr_struct.rs} | 6 +- .../codegen_interface_attr_trait.rs} | 6 +- .../codegen_interface_derive.rs} | 6 +- .../codegen_object_attr.rs} | 34 +-- .../codegen_object_derive.rs} | 33 +-- .../codegen_scalar_attr_derive_input.rs} | 6 +- .../codegen_scalar_attr_type_alias.rs} | 6 +- .../codegen_scalar_derive.rs} | 6 +- .../codegen_scalar_value_derive.rs} | 0 .../codegen_subscription_attr.rs} | 6 +- .../codegen_union_attr.rs} | 33 +-- .../codegen_union_derive.rs} | 35 +-- tests/integration/tests/common/mod.rs | 147 ++++++++++++ .../{src => tests}/custom_scalar.rs | 89 +------ .../{src => tests}/explicit_null.rs | 0 .../tests/infallible_as_field_error.rs | 12 + .../{src => tests}/inside_macro.rs | 0 tests/integration/{src => tests}/issue_371.rs | 0 tests/integration/{src => tests}/issue_372.rs | 0 tests/integration/{src => tests}/issue_398.rs | 0 tests/integration/{src => tests}/issue_407.rs | 0 tests/integration/{src => tests}/issue_500.rs | 0 tests/integration/{src => tests}/issue_798.rs | 0 tests/integration/{src => tests}/issue_914.rs | 0 tests/integration/{src => tests}/issue_922.rs | 0 tests/integration/{src => tests}/issue_925.rs | 0 tests/integration/{src => tests}/issue_945.rs | 0 tests/integration/{src => tests}/pre_parse.rs | 3 +- 79 files changed, 672 insertions(+), 826 deletions(-) delete mode 100644 book/tests/Cargo.toml delete mode 100644 book/tests/build.rs delete mode 100644 book/tests/src/lib.rs delete mode 100644 tests/integration/src/codegen/mod.rs delete mode 100644 tests/integration/src/infallible_as_field_error.rs delete mode 100644 tests/integration/src/lib.rs rename tests/integration/{src => tests}/arc_fields.rs (61%) rename tests/integration/{src => tests}/array.rs (100%) rename tests/integration/{src/codegen/derive_object_with_raw_idents.rs => tests/codegen_derive_object_with_raw_idents.rs} (100%) rename tests/integration/{src/codegen/enum_derive.rs => tests/codegen_enum_derive.rs} (99%) rename tests/integration/{src/codegen/input_object_derive.rs => tests/codegen_input_object_derive.rs} (99%) rename tests/integration/{src/codegen/interface_attr_struct.rs => tests/codegen_interface_attr_struct.rs} (99%) rename tests/integration/{src/codegen/interface_attr_trait.rs => tests/codegen_interface_attr_trait.rs} (99%) rename tests/integration/{src/codegen/interface_derive.rs => tests/codegen_interface_derive.rs} (99%) rename tests/integration/{src/codegen/object_attr.rs => tests/codegen_object_attr.rs} (98%) rename tests/integration/{src/codegen/object_derive.rs => tests/codegen_object_derive.rs} (96%) rename tests/integration/{src/codegen/scalar_attr_derive_input.rs => tests/codegen_scalar_attr_derive_input.rs} (99%) rename tests/integration/{src/codegen/scalar_attr_type_alias.rs => tests/codegen_scalar_attr_type_alias.rs} (99%) rename tests/integration/{src/codegen/scalar_derive.rs => tests/codegen_scalar_derive.rs} (99%) rename tests/integration/{src/codegen/scalar_value_derive.rs => tests/codegen_scalar_value_derive.rs} (100%) rename tests/integration/{src/codegen/subscription_attr.rs => tests/codegen_subscription_attr.rs} (99%) rename tests/integration/{src/codegen/union_attr.rs => tests/codegen_union_attr.rs} (97%) rename tests/integration/{src/codegen/union_derive.rs => tests/codegen_union_derive.rs} (98%) create mode 100644 tests/integration/tests/common/mod.rs rename tests/integration/{src => tests}/custom_scalar.rs (54%) rename tests/integration/{src => tests}/explicit_null.rs (100%) create mode 100644 tests/integration/tests/infallible_as_field_error.rs rename tests/integration/{src => tests}/inside_macro.rs (100%) rename tests/integration/{src => tests}/issue_371.rs (100%) rename tests/integration/{src => tests}/issue_372.rs (100%) rename tests/integration/{src => tests}/issue_398.rs (100%) rename tests/integration/{src => tests}/issue_407.rs (100%) rename tests/integration/{src => tests}/issue_500.rs (100%) rename tests/integration/{src => tests}/issue_798.rs (100%) rename tests/integration/{src => tests}/issue_914.rs (100%) rename tests/integration/{src => tests}/issue_922.rs (100%) rename tests/integration/{src => tests}/issue_925.rs (100%) rename tests/integration/{src => tests}/issue_945.rs (100%) rename tests/integration/{src => tests}/pre_parse.rs (99%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 675ec3cd..23b3981f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: - release-check - rustfmt - test + - test-book - wasm runs-on: ubuntu-latest steps: @@ -171,7 +172,6 @@ jobs: - juniper_graphql_ws - juniper_integration_tests - juniper_codegen_tests - - juniper_book_tests - juniper_actix - juniper_hyper - juniper_iron @@ -194,14 +194,6 @@ jobs: os: macOS - crate: juniper_codegen_tests os: windows - - crate: juniper_book_tests - toolchain: beta - - crate: juniper_book_tests - toolchain: nightly - # TODO: LLVM ERROR: out of memory - - crate: juniper_integration_tests - os: windows - runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v3 @@ -213,6 +205,34 @@ jobs: - run: make test.cargo crate=${{ matrix.crate }} + test-book: + name: test Book + strategy: + fail-fast: false + matrix: + os: + - ubuntu + - macOS + # TODO: Re-enable once rust-lang/rust#99466 is fixed: + # https://github.com/rust-lang/rust/issues/99466 + #- windows + toolchain: + - stable + - beta + - nightly + runs-on: ${{ matrix.os }}-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.toolchain }} + override: true + + - run: cargo install mdbook + + - run: make test.book + wasm: strategy: fail-fast: false @@ -281,6 +301,7 @@ jobs: - package - rustfmt - test + - test-book - wasm if: ${{ startsWith(github.ref, 'refs/tags/juniper') }} runs-on: ubuntu-latest @@ -304,7 +325,7 @@ jobs: - name: Parse CHANGELOG link id: changelog run: echo ::set-output - name=LINK::https://github.com/${{ github.repository }}/blob/${{ steps.crate.outputs.NAME }}%40${{ steps.release.outputs.VERSION }}//${{ steps.crate.outputs.NAME }}/CHANGELOG.md#$(sed -n '/^## \[${{ steps.release.outputs.VERSION }}\]/{s/^## \[\(.*\)\][^0-9]*\([0-9].*\)/\1--\2/;s/[^0-9a-z-]*//g;p;}' ${{ steps.crate.outputs.NAME }}/CHANGELOG.md) + name=LINK::${{ github.server_url }}/${{ github.repository }}/blob/${{ steps.crate.outputs.NAME }}%40${{ steps.release.outputs.VERSION }}//${{ steps.crate.outputs.NAME }}/CHANGELOG.md#$(sed -n '/^## \[${{ steps.release.outputs.VERSION }}\]/{s/^## \[\(.*\)\][^0-9]*\([0-9].*\)/\1--\2/;s/[^0-9a-z-]*//g;p;}' ${{ steps.crate.outputs.NAME }}/CHANGELOG.md) - uses: softprops/action-gh-release@v1 env: @@ -347,19 +368,17 @@ jobs: deploy-book: name: deploy Book - needs: ["test"] + needs: ["test", "test-book"] if: ${{ github.ref == 'refs/heads/master' - || startsWith(github.ref, 'refs/tags/juniper@') }} + || startsWith(github.ref, 'refs/tags/juniper@') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: peaceiris/actions-mdbook@v1 - - run: make book.build out=gh-pages/master - if: ${{ github.ref == 'refs/heads/master' }} - - - run: make book.build out=gh-pages - if: ${{ startsWith(github.ref, 'refs/tags/juniper@') }} + - run: make book.build out=gh-pages${{ (github.ref == 'refs/heads/master' + && '/master') + || '' }} - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 974fe42f..015f03f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,19 +17,16 @@ Before submitting a PR, you should follow these steps to prevent redundant churn Consistent formatting is enforced on the CI. -Before you submit your PR, you should run `cargo fmt` in the root directory. +Before you submit your PR, you should run `cargo +nightly fmt --all` in the root directory (or use the `make fmt` shortcut). -Formatting should be run on the **stable** compiler. -(You can do `rustup run stable cargo fmt` when developing on nightly) +Formatting should be run on the **nightly** compiler. ### Run all tests -To run all available tests, including verifying the code examples in the book, -you can use [cargo-make](https://github.com/sagiegurari/cargo-make). +To run all available tests, including verifying the code examples in the book: -1. Install cargo-make with `cargo install cargo-make` -2. Run `cargo make ci-flow` in the root directory - (You can do `rustup run nightly cargo make ci-flow` to run all tests when developing on stable) +1. Run `cargo test` in the root directory. +2. Run `make test.book` in the root directory. ### Update the CHANGELOG diff --git a/Cargo.toml b/Cargo.toml index 1a97d16a..9b94e2fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,6 @@ [workspace] members = [ "benches", - "book/tests", "examples/basic_subscriptions", "examples/warp_async", "examples/warp_subscriptions", diff --git a/Makefile b/Makefile index e6a566bf..7f5755be 100644 --- a/Makefile +++ b/Makefile @@ -87,10 +87,14 @@ cargo.test: test.cargo # Run Rust tests of Book. # # Usage: -# make test.book +# make test.book [clean=(no|yes)] test.book: - @make test.cargo crate=juniper_book_tests +ifeq ($(clean),yes) + cargo clean +endif + cargo build + mdbook test book -L target/debug/deps # Run Rust tests of project crates. diff --git a/book/README.md b/book/README.md index f4b28d98..93ac3407 100644 --- a/book/README.md +++ b/book/README.md @@ -47,21 +47,8 @@ The output will be in the `_rendered/` directory. To run the tests validating all code examples in the book, run: ```bash -cd tests/ -cargo test - -# or from project root dir: -cargo test -p juniper_book_tests +mdbook test -L ../target/debug/deps # or via shortcut from project root dir: make test.book ``` - - - - -## Test setup - -All Rust code examples in the book are compiled on the CI. - -This is done using the [skeptic](https://github.com/budziq/rust-skeptic) crate. diff --git a/book/src/advanced/subscriptions.md b/book/src/advanced/subscriptions.md index 89ce7bf4..51200b10 100644 --- a/book/src/advanced/subscriptions.md +++ b/book/src/advanced/subscriptions.md @@ -25,9 +25,11 @@ This example shows a subscription operation that returns two events, the strings sequentially: ```rust -# use juniper::{graphql_object, graphql_subscription, FieldError}; -# use futures::Stream; +# extern crate futures; +# extern crate juniper; # use std::pin::Pin; +# use futures::Stream; +# use juniper::{graphql_object, graphql_subscription, FieldError}; # # #[derive(Clone)] # pub struct Database; @@ -80,7 +82,6 @@ where [`Connection`][Connection] is a `Stream` of values returned by the operati # extern crate juniper; # extern crate juniper_subscriptions; # extern crate serde_json; -# extern crate tokio; # use juniper::{ # http::GraphQLRequest, # graphql_object, graphql_subscription, diff --git a/book/src/types/objects/using_contexts.md b/book/src/types/objects/using_contexts.md index 027b61a6..a795e09c 100644 --- a/book/src/types/objects/using_contexts.md +++ b/book/src/types/objects/using_contexts.md @@ -97,6 +97,7 @@ Context cannot be specified by a mutable reference, because concurrent fields re For example, when using async runtime with [work stealing][2] (like `tokio`), which obviously requires thread safety in addition, you will need to use a corresponding async version of `RwLock`: ```rust # extern crate juniper; +# extern crate tokio; # use std::collections::HashMap; # use juniper::graphql_object; use tokio::sync::RwLock; diff --git a/book/src/types/scalars.md b/book/src/types/scalars.md index 5f2f44b0..8fbe88ed 100644 --- a/book/src/types/scalars.md +++ b/book/src/types/scalars.md @@ -114,6 +114,7 @@ All the methods used from newtype's field can be replaced with attributes: ### `#[graphql(to_output_with = )]` attribute ```rust +# extern crate juniper; # use juniper::{GraphQLScalar, ScalarValue, Value}; # #[derive(GraphQLScalar)] @@ -131,6 +132,7 @@ fn to_output(v: &Incremented) -> Value { ### `#[graphql(from_input_with = )]` attribute ```rust +# extern crate juniper; # use juniper::{GraphQLScalar, InputValue, ScalarValue}; # #[derive(GraphQLScalar)] @@ -165,6 +167,7 @@ impl UserId { ### `#[graphql(parse_token_with = ]` or `#[graphql(parse_token()]` attributes ```rust +# extern crate juniper; # use juniper::{ # GraphQLScalar, InputValue, ParseScalarResult, ParseScalarValue, # ScalarValue, ScalarToken, Value @@ -224,6 +227,7 @@ Path can be simply `with = Self` (default path where macro expects resolvers to in case there is an impl block with custom resolvers: ```rust +# extern crate juniper; # use juniper::{ # GraphQLScalar, InputValue, ParseScalarResult, ParseScalarValue, # ScalarValue, ScalarToken, Value @@ -269,6 +273,7 @@ impl StringOrInt { Or it can be path to a module, where custom resolvers are located. ```rust +# extern crate juniper; # use juniper::{ # GraphQLScalar, InputValue, ParseScalarResult, ParseScalarValue, # ScalarValue, ScalarToken, Value @@ -319,6 +324,7 @@ mod string_or_int { Also, you can partially override `#[graphql(with)]` attribute with other custom scalars. ```rust +# extern crate juniper; # use juniper::{GraphQLScalar, InputValue, ParseScalarResult, ScalarValue, ScalarToken, Value}; # #[derive(GraphQLScalar)] diff --git a/book/tests/Cargo.toml b/book/tests/Cargo.toml deleted file mode 100644 index 395a3d14..00000000 --- a/book/tests/Cargo.toml +++ /dev/null @@ -1,22 +0,0 @@ -[package] -name = "juniper_book_tests" -version = "0.0.0" -edition = "2021" -authors = ["Magnus Hallin "] -publish = false - -[dependencies] -derive_more = "0.99" -futures = "0.3" -iron = "0.6" -juniper = { path = "../../juniper" } -juniper_iron = { path = "../../juniper_iron" } -juniper_subscriptions = { path = "../../juniper_subscriptions" } -mount = "0.4" -serde_json = "1.0" -skeptic = "0.13" -tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] } -uuid = "1.0" - -[build-dependencies] -skeptic = "0.13" diff --git a/book/tests/build.rs b/book/tests/build.rs deleted file mode 100644 index 80e0cbe1..00000000 --- a/book/tests/build.rs +++ /dev/null @@ -1,4 +0,0 @@ -fn main() { - let files = skeptic::markdown_files_of_directory("../src/"); - skeptic::generate_doc_tests(&files); -} diff --git a/book/tests/src/lib.rs b/book/tests/src/lib.rs deleted file mode 100644 index e1d5434b..00000000 --- a/book/tests/src/lib.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![deny(warnings)] - -include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs")); diff --git a/tests/codegen/Cargo.toml b/tests/codegen/Cargo.toml index e8a62a0a..3efcfaef 100644 --- a/tests/codegen/Cargo.toml +++ b/tests/codegen/Cargo.toml @@ -5,10 +5,11 @@ edition = "2021" publish = false [dependencies] -futures = "0.3.1" -juniper = { path = "../../juniper" } +rustversion = "1.0" [dev-dependencies] +futures = "0.3.1" +juniper = { path = "../../juniper" } serde_json = "1.0" tokio = { version = "1.0", features = ["rt", "time", "macros"] } -trybuild = "1.0.25" +trybuild = "1.0.63" diff --git a/tests/codegen/fail/interface/struct/attr_additional_non_nullable_argument.stderr b/tests/codegen/fail/interface/struct/attr_additional_non_nullable_argument.stderr index 54af26a8..5d03e44c 100644 --- a/tests/codegen/fail/interface/struct/attr_additional_non_nullable_argument.stderr +++ b/tests/codegen/fail/interface/struct/attr_additional_non_nullable_argument.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 16 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/struct/attr_additional_non_nullable_argument.rs:16:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_additional_non_nullable_argument.rs:16:5 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 16 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/struct/attr_additional_non_nullable_argument.rs:16:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_implementers_duplicate_pretty.stderr b/tests/codegen/fail/interface/struct/attr_implementers_duplicate_pretty.stderr index a9f9fe37..ce5a6101 100644 --- a/tests/codegen/fail/interface/struct/attr_implementers_duplicate_pretty.stderr +++ b/tests/codegen/fail/interface/struct/attr_implementers_duplicate_pretty.stderr @@ -16,7 +16,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10 @@ -24,7 +24,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_implementers_duplicate_pretty.rs:3:10 @@ -32,4 +32,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_implementers_duplicate_ugly.stderr b/tests/codegen/fail/interface/struct/attr_implementers_duplicate_ugly.stderr index da24362c..210ab346 100644 --- a/tests/codegen/fail/interface/struct/attr_implementers_duplicate_ugly.stderr +++ b/tests/codegen/fail/interface/struct/attr_implementers_duplicate_ugly.stderr @@ -18,4 +18,4 @@ error[E0119]: conflicting implementations of trait ` fail/interface/struct/attr_missing_field.rs:11:5 @@ -12,7 +12,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -20,7 +20,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -28,7 +28,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -36,7 +36,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -51,7 +51,7 @@ error: any use of this value will cause an error = note: `#[deny(const_err)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -61,7 +61,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -71,7 +71,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -81,7 +81,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -89,7 +89,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -97,7 +97,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -107,7 +107,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -117,7 +117,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -125,7 +125,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -133,7 +133,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -143,7 +143,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -153,7 +153,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -161,7 +161,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -171,7 +171,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -179,7 +179,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -187,7 +187,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -197,7 +197,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -205,7 +205,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -215,7 +215,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -223,7 +223,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -231,7 +231,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -241,7 +241,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -251,7 +251,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -259,7 +259,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -269,7 +269,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -277,7 +277,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -285,7 +285,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -295,7 +295,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -303,7 +303,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -313,7 +313,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -321,7 +321,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -329,7 +329,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -337,7 +337,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/attr_missing_field.rs:11:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -347,7 +347,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -357,7 +357,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -365,7 +365,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -373,7 +373,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -383,7 +383,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -393,7 +393,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -401,7 +401,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -409,7 +409,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -419,7 +419,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -427,7 +427,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -437,7 +437,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -445,7 +445,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -453,7 +453,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -463,7 +463,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -473,7 +473,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -481,7 +481,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -489,7 +489,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -497,7 +497,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/attr_missing_field.rs:11:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -505,7 +505,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -513,7 +513,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -521,7 +521,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -529,7 +529,7 @@ error[E0080]: erroneous constant used 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -543,7 +543,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -553,7 +553,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -563,7 +563,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -573,7 +573,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -581,7 +581,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -589,7 +589,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -599,7 +599,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -609,7 +609,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -617,7 +617,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -625,7 +625,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -635,7 +635,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -645,7 +645,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -653,7 +653,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -663,7 +663,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -671,7 +671,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -679,7 +679,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -689,7 +689,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -697,7 +697,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -707,7 +707,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -715,7 +715,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -723,7 +723,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -733,7 +733,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -743,7 +743,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -751,7 +751,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -761,7 +761,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -769,7 +769,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -777,7 +777,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -787,7 +787,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -795,7 +795,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -805,7 +805,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -813,7 +813,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -821,7 +821,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -829,7 +829,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/attr_missing_field.rs:11:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -839,7 +839,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -849,7 +849,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -857,7 +857,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -865,7 +865,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -875,7 +875,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -885,7 +885,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -893,7 +893,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -901,7 +901,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -911,7 +911,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -919,7 +919,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -929,7 +929,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -937,7 +937,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -945,7 +945,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -955,7 +955,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -965,7 +965,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -973,7 +973,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_missing_field.rs:11:5 @@ -981,4 +981,4 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_missing_for_attr.stderr b/tests/codegen/fail/interface/struct/attr_missing_for_attr.stderr index cf2b405e..eddbb9b3 100644 --- a/tests/codegen/fail/interface/struct/attr_missing_for_attr.stderr +++ b/tests/codegen/fail/interface/struct/attr_missing_for_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing implementer reference in interface's `for` attribute.', $DIR/fail/interface/struct/attr_missing_for_attr.rs:3:10 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_missing_impl_attr.stderr b/tests/codegen/fail/interface/struct/attr_missing_impl_attr.stderr index e92ba3d6..cfccb3cb 100644 --- a/tests/codegen/fail/interface/struct/attr_missing_impl_attr.stderr +++ b/tests/codegen/fail/interface/struct/attr_missing_impl_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 8 | #[graphql_interface(for = ObjA)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing interface reference in implementer's `impl` attribute.', $DIR/fail/interface/struct/attr_missing_impl_attr.rs:8:1 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_missing_transitive_impl.stderr b/tests/codegen/fail/interface/struct/attr_missing_transitive_impl.stderr index a77b0085..0eb3178c 100644 --- a/tests/codegen/fail/interface/struct/attr_missing_transitive_impl.stderr +++ b/tests/codegen/fail/interface/struct/attr_missing_transitive_impl.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 8 | #[graphql_interface(impl = Node1Value, for = Node3Value)] | ^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Node2` on `Node3`: missing `impl = ` for transitive interface `Node1` on `Node3`.', $DIR/fail/interface/struct/attr_missing_transitive_impl.rs:8:46 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_transitive_impls` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/attr_non_subtype_return.stderr b/tests/codegen/fail/interface/struct/attr_non_subtype_return.stderr index 67c4553a..480c7b1e 100644 --- a/tests/codegen/fail/interface/struct/attr_non_subtype_return.stderr +++ b/tests/codegen/fail/interface/struct/attr_non_subtype_return.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/struct/attr_non_subtype_return.rs:11:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/attr_non_subtype_return.rs:11:5 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 11 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/struct/attr_non_subtype_return.rs:11:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_additional_non_nullable_argument.stderr b/tests/codegen/fail/interface/struct/derive_additional_non_nullable_argument.stderr index bb58c8f7..f6e828fc 100644 --- a/tests/codegen/fail/interface/struct/derive_additional_non_nullable_argument.stderr +++ b/tests/codegen/fail/interface/struct/derive_additional_non_nullable_argument.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 17 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/struct/derive_additional_non_nullable_argument.rs:17:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_additional_non_nullable_argument.rs:17:5 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 17 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/struct/derive_additional_non_nullable_argument.rs:17:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_implementers_duplicate_pretty.stderr b/tests/codegen/fail/interface/struct/derive_implementers_duplicate_pretty.stderr index 234878de..926c96b1 100644 --- a/tests/codegen/fail/interface/struct/derive_implementers_duplicate_pretty.stderr +++ b/tests/codegen/fail/interface/struct/derive_implementers_duplicate_pretty.stderr @@ -16,7 +16,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10 @@ -24,7 +24,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_implementers_duplicate_pretty.rs:3:10 @@ -32,4 +32,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_implementers_duplicate_ugly.stderr b/tests/codegen/fail/interface/struct/derive_implementers_duplicate_ugly.stderr index fde533c1..de35d399 100644 --- a/tests/codegen/fail/interface/struct/derive_implementers_duplicate_ugly.stderr +++ b/tests/codegen/fail/interface/struct/derive_implementers_duplicate_ugly.stderr @@ -18,4 +18,4 @@ error[E0119]: conflicting implementations of trait ` fail/interface/struct/derive_missing_field.rs:12:5 @@ -12,7 +12,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -20,7 +20,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -28,7 +28,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -36,7 +36,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -51,7 +51,7 @@ error: any use of this value will cause an error = note: `#[deny(const_err)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -61,7 +61,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -71,7 +71,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -81,7 +81,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -89,7 +89,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -97,7 +97,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -107,7 +107,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -117,7 +117,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -125,7 +125,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -133,7 +133,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -143,7 +143,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -153,7 +153,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -161,7 +161,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -171,7 +171,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -179,7 +179,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -187,7 +187,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -197,7 +197,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -205,7 +205,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -215,7 +215,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -223,7 +223,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -231,7 +231,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -241,7 +241,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -251,7 +251,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -259,7 +259,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -269,7 +269,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -277,7 +277,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -285,7 +285,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -295,7 +295,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -303,7 +303,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -313,7 +313,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -321,7 +321,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -329,7 +329,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -337,7 +337,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/derive_missing_field.rs:12:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -347,7 +347,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -357,7 +357,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -365,7 +365,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -373,7 +373,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -383,7 +383,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -393,7 +393,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -401,7 +401,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -409,7 +409,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -419,7 +419,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -427,7 +427,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -437,7 +437,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -445,7 +445,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -453,7 +453,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -463,7 +463,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -473,7 +473,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -481,7 +481,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -489,7 +489,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -497,7 +497,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/derive_missing_field.rs:12:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -505,7 +505,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -513,7 +513,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -521,7 +521,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -529,7 +529,7 @@ error[E0080]: erroneous constant used 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -543,7 +543,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -553,7 +553,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -563,7 +563,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -573,7 +573,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -581,7 +581,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -589,7 +589,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -599,7 +599,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -609,7 +609,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -617,7 +617,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -625,7 +625,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -635,7 +635,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -645,7 +645,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -653,7 +653,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -663,7 +663,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -671,7 +671,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -679,7 +679,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -689,7 +689,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -697,7 +697,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -707,7 +707,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -715,7 +715,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -723,7 +723,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -733,7 +733,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -743,7 +743,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -751,7 +751,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -761,7 +761,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -769,7 +769,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -777,7 +777,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -787,7 +787,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -795,7 +795,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -805,7 +805,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -813,7 +813,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -821,7 +821,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -829,7 +829,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/struct/derive_missing_field.rs:12:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -839,7 +839,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -849,7 +849,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -857,7 +857,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -865,7 +865,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -875,7 +875,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -885,7 +885,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -893,7 +893,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -901,7 +901,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -911,7 +911,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -919,7 +919,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -929,7 +929,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -937,7 +937,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -945,7 +945,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -955,7 +955,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -965,7 +965,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -973,7 +973,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_missing_field.rs:12:5 @@ -981,4 +981,4 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_missing_for_attr.stderr b/tests/codegen/fail/interface/struct/derive_missing_for_attr.stderr index 2364122c..89c02448 100644 --- a/tests/codegen/fail/interface/struct/derive_missing_for_attr.stderr +++ b/tests/codegen/fail/interface/struct/derive_missing_for_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing implementer reference in interface's `for` attribute.', $DIR/fail/interface/struct/derive_missing_for_attr.rs:3:10 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_missing_impl_attr.stderr b/tests/codegen/fail/interface/struct/derive_missing_impl_attr.stderr index 98bd18dd..7a7a1018 100644 --- a/tests/codegen/fail/interface/struct/derive_missing_impl_attr.stderr +++ b/tests/codegen/fail/interface/struct/derive_missing_impl_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 8 | #[derive(GraphQLInterface)] | ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing interface reference in implementer's `impl` attribute.', $DIR/fail/interface/struct/derive_missing_impl_attr.rs:8:10 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the derive macro `GraphQLInterface` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_missing_transitive_impl.stderr b/tests/codegen/fail/interface/struct/derive_missing_transitive_impl.stderr index 2b7a8e49..8ed89a93 100644 --- a/tests/codegen/fail/interface/struct/derive_missing_transitive_impl.stderr +++ b/tests/codegen/fail/interface/struct/derive_missing_transitive_impl.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 10 | #[graphql(impl = Node1Value, for = Node3Value)] | ^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Node2` on `Node3`: missing `impl = ` for transitive interface `Node1` on `Node3`.', $DIR/fail/interface/struct/derive_missing_transitive_impl.rs:10:36 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_transitive_impls` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/struct/derive_non_subtype_return.stderr b/tests/codegen/fail/interface/struct/derive_non_subtype_return.stderr index 7de89146..87095cf3 100644 --- a/tests/codegen/fail/interface/struct/derive_non_subtype_return.stderr +++ b/tests/codegen/fail/interface/struct/derive_non_subtype_return.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/struct/derive_non_subtype_return.rs:12:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/struct/derive_non_subtype_return.rs:12:5 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 12 | id: String, | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/struct/derive_non_subtype_return.rs:12:5 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/additional_non_nullable_argument.stderr b/tests/codegen/fail/interface/trait/additional_non_nullable_argument.stderr index a4030c90..29e48523 100644 --- a/tests/codegen/fail/interface/trait/additional_non_nullable_argument.stderr +++ b/tests/codegen/fail/interface/trait/additional_non_nullable_argument.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/trait/additional_non_nullable_argument.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/additional_non_nullable_argument.rs:16:8 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` isn't present on the interface and so has to be nullable.', $DIR/fail/interface/trait/additional_non_nullable_argument.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/implementers_duplicate_pretty.stderr b/tests/codegen/fail/interface/trait/implementers_duplicate_pretty.stderr index 13696d8d..0dc684f7 100644 --- a/tests/codegen/fail/interface/trait/implementers_duplicate_pretty.stderr +++ b/tests/codegen/fail/interface/trait/implementers_duplicate_pretty.stderr @@ -16,7 +16,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/implementers_duplicate_pretty.rs:3:10 @@ -24,7 +24,7 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/implementers_duplicate_pretty.rs:3:10 @@ -32,4 +32,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/implementers_duplicate_ugly.stderr b/tests/codegen/fail/interface/trait/implementers_duplicate_ugly.stderr index 74b695d8..052d6585 100644 --- a/tests/codegen/fail/interface/trait/implementers_duplicate_ugly.stderr +++ b/tests/codegen/fail/interface/trait/implementers_duplicate_ugly.stderr @@ -18,4 +18,4 @@ error[E0119]: conflicting implementations of trait ` &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/trait/missing_field.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -12,7 +12,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -20,7 +20,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -28,7 +28,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -36,7 +36,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -51,7 +51,7 @@ error: any use of this value will cause an error = note: `#[deny(const_err)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -61,7 +61,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -71,7 +71,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -81,7 +81,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -89,7 +89,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -97,7 +97,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -107,7 +107,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -117,7 +117,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -125,7 +125,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -133,7 +133,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -143,7 +143,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -153,7 +153,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -161,7 +161,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -171,7 +171,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -179,7 +179,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -187,7 +187,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -197,7 +197,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -205,7 +205,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -215,7 +215,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -223,7 +223,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -231,7 +231,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -241,7 +241,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -251,7 +251,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -259,7 +259,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -269,7 +269,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -277,7 +277,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -285,7 +285,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -295,7 +295,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -303,7 +303,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -313,7 +313,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -321,7 +321,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -329,7 +329,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -337,7 +337,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/trait/missing_field.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -347,7 +347,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -357,7 +357,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -365,7 +365,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -373,7 +373,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -383,7 +383,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -393,7 +393,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -401,7 +401,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -409,7 +409,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -419,7 +419,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -427,7 +427,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -437,7 +437,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -445,7 +445,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -453,7 +453,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -463,7 +463,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -473,7 +473,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -481,7 +481,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -489,7 +489,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -497,7 +497,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/trait/missing_field.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -505,7 +505,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -513,7 +513,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -521,7 +521,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: erroneous constant used --> fail/interface/trait/missing_field.rs:11:8 @@ -529,7 +529,7 @@ error[E0080]: erroneous constant used 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -543,7 +543,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -553,7 +553,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -563,7 +563,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -573,7 +573,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -581,7 +581,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -589,7 +589,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -599,7 +599,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -609,7 +609,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -617,7 +617,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -625,7 +625,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -635,7 +635,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -645,7 +645,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -653,7 +653,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -663,7 +663,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -671,7 +671,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -679,7 +679,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -689,7 +689,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -697,7 +697,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -707,7 +707,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -715,7 +715,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -723,7 +723,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -733,7 +733,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -743,7 +743,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -751,7 +751,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -761,7 +761,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -769,7 +769,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -777,7 +777,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -787,7 +787,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -795,7 +795,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -805,7 +805,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_field_args` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -813,7 +813,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -821,7 +821,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -829,7 +829,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id` isn't implemented on `ObjA`.', $DIR/fail/interface/trait/missing_field.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -839,7 +839,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -849,7 +849,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -857,7 +857,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -865,7 +865,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -875,7 +875,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -885,7 +885,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -893,7 +893,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -901,7 +901,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -911,7 +911,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -919,7 +919,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -929,7 +929,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -937,7 +937,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -945,7 +945,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::const_concat` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -955,7 +955,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::assert_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error: any use of this value will cause an error --> fail/interface/trait/missing_field.rs:11:8 @@ -965,7 +965,7 @@ error: any use of this value will cause an error | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -973,7 +973,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field.rs:11:8 @@ -981,4 +981,4 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ referenced constant has errors | - = note: this error originates in the macro `$crate::format_type` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/missing_field_argument.stderr b/tests/codegen/fail/interface/trait/missing_field_argument.stderr index c2f0b857..d292529c 100644 --- a/tests/codegen/fail/interface/trait/missing_field_argument.stderr +++ b/tests/codegen/fail/interface/trait/missing_field_argument.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self, is_present: bool) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` was expected, but not found.', $DIR/fail/interface/trait/missing_field_argument.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/missing_field_argument.rs:16:8 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self, is_present: bool) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent` of type `Boolean!` was expected, but not found.', $DIR/fail/interface/trait/missing_field_argument.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/missing_for_attr.stderr b/tests/codegen/fail/interface/trait/missing_for_attr.stderr index 7df8c5b6..a71e07c3 100644 --- a/tests/codegen/fail/interface/trait/missing_for_attr.stderr +++ b/tests/codegen/fail/interface/trait/missing_for_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 3 | #[derive(GraphQLObject)] | ^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing implementer reference in interface's `for` attribute.', $DIR/fail/interface/trait/missing_for_attr.rs:3:10 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the derive macro `GraphQLObject` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/missing_impl_attr.stderr b/tests/codegen/fail/interface/trait/missing_impl_attr.stderr index 64973413..d502fd0e 100644 --- a/tests/codegen/fail/interface/trait/missing_impl_attr.stderr +++ b/tests/codegen/fail/interface/trait/missing_impl_attr.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 8 | #[graphql_interface(for = ObjA)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: missing interface reference in implementer's `impl` attribute.', $DIR/fail/interface/trait/missing_impl_attr.rs:8:1 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/missing_transitive_impl.stderr b/tests/codegen/fail/interface/trait/missing_transitive_impl.stderr index 8655cc68..16767ee9 100644 --- a/tests/codegen/fail/interface/trait/missing_transitive_impl.stderr +++ b/tests/codegen/fail/interface/trait/missing_transitive_impl.stderr @@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed 8 | #[graphql_interface(impl = Node1Value, for = Node3Value)] | ^^^^^^^^^^ the evaluated program panicked at 'Failed to implement interface `Node2` on `Node3`: missing `impl = ` for transitive interface `Node1` on `Node3`.', $DIR/fail/interface/trait/missing_transitive_impl.rs:8:46 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_transitive_impls` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/non_subtype_return.stderr b/tests/codegen/fail/interface/trait/non_subtype_return.stderr index 608542e9..3c9d1bdb 100644 --- a/tests/codegen/fail/interface/trait/non_subtype_return.stderr +++ b/tests/codegen/fail/interface/trait/non_subtype_return.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/trait/non_subtype_return.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/non_subtype_return.rs:11:8 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 11 | fn id(&self) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: implementor is expected to return a subtype of interface's return object: `[String!]!` is not a subtype of `String!`.', $DIR/fail/interface/trait/non_subtype_return.rs:11:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/interface/trait/wrong_argument_type.stderr b/tests/codegen/fail/interface/trait/wrong_argument_type.stderr index 3575bacf..36c24e4f 100644 --- a/tests/codegen/fail/interface/trait/wrong_argument_type.stderr +++ b/tests/codegen/fail/interface/trait/wrong_argument_type.stderr @@ -4,7 +4,7 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self, is_present: bool) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent`: expected type `Boolean!`, found: `Int!`.', $DIR/fail/interface/trait/wrong_argument_type.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> fail/interface/trait/wrong_argument_type.rs:16:8 @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 16 | fn id(&self, is_present: bool) -> &str; | ^^ the evaluated program panicked at 'Failed to implement interface `Character` on `ObjA`: Field `id`: Argument `isPresent`: expected type `Boolean!`, found: `Int!`.', $DIR/fail/interface/trait/wrong_argument_type.rs:16:8 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/fail/union/enum_same_type_ugly.stderr b/tests/codegen/fail/union/enum_same_type_ugly.stderr index fbb313ad..37c11674 100644 --- a/tests/codegen/fail/union/enum_same_type_ugly.stderr +++ b/tests/codegen/fail/union/enum_same_type_ugly.stderr @@ -1,5 +1,5 @@ error[E0119]: conflicting implementations of trait `>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String` - --> $DIR/enum_same_type_ugly.rs:3:10 + --> fail/union/enum_same_type_ugly.rs:3:10 | 3 | #[derive(GraphQLUnion)] | ^^^^^^^^^^^^ @@ -7,4 +7,4 @@ error[E0119]: conflicting implementations of trait `>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String` - --> $DIR/struct_same_type_ugly.rs:3:10 + --> fail/union/struct_same_type_ugly.rs:3:10 | 3 | #[derive(GraphQLUnion)] | ^^^^^^^^^^^^ @@ -7,4 +7,4 @@ error[E0119]: conflicting implementations of trait `>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String` - --> $DIR/trait_same_type_ugly.rs:3:1 + --> fail/union/trait_same_type_ugly.rs:3:1 | 3 | #[graphql_union] | ^^^^^^^^^^^^^^^^ @@ -7,4 +7,4 @@ error[E0119]: conflicting implementations of trait `<(dyn Character + std::marke | first implementation here | conflicting implementation for `std::string::String` | - = note: this error originates in the macro `::juniper::sa::assert_type_ne_all` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `::juniper::sa::assert_type_ne_all` which comes from the expansion of the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/codegen/src/lib.rs b/tests/codegen/src/lib.rs index 656b5e7a..abdcf203 100644 --- a/tests/codegen/src/lib.rs +++ b/tests/codegen/src/lib.rs @@ -1,38 +1,9 @@ // TODO: [Object] Type Validation: §4 (interfaces) for objects // TODO: [Non-Null] §1 A Non‐Null type must not wrap another Non‐Null type. -#[cfg(test)] -use std::{ - fs::{read_dir, DirEntry}, - io, - path::{Path, PathBuf}, -}; - -#[cfg(test)] -fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> io::Result<()> { - if dir.is_dir() { - for entry in read_dir(dir)? { - let entry = entry?; - let path = entry.path(); - if path.is_dir() { - visit_dirs(&path, cb)?; - } else { - cb(&entry); - } - } - } - Ok(()) -} - +#[rustversion::nightly] #[test] -fn test_failing_compiliation() { +fn test_failing_compilation() { let t = trybuild::TestCases::new(); - let dir = PathBuf::from("fail"); - - visit_dirs(dir.as_path(), &|entry: &DirEntry| { - if let Some(Some("rs")) = entry.path().extension().map(|os| os.to_str()) { - t.compile_fail(entry.path()); - } - }) - .unwrap(); + t.compile_fail("fail/**/*.rs"); } diff --git a/tests/integration/Cargo.toml b/tests/integration/Cargo.toml index 8645376e..041edf23 100644 --- a/tests/integration/Cargo.toml +++ b/tests/integration/Cargo.toml @@ -4,16 +4,14 @@ version = "0.0.0" edition = "2021" publish = false -[dependencies] +[dev-dependencies] +async-trait = "0.1.39" chrono = "0.4" derive_more = "0.99" +fnv = "1.0" futures = "0.3" juniper = { path = "../../juniper" } juniper_subscriptions = { path = "../../juniper_subscriptions" } - -[dev-dependencies] -async-trait = "0.1.39" -fnv = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1.0", features = ["rt", "macros", "time"] } diff --git a/tests/integration/src/codegen/mod.rs b/tests/integration/src/codegen/mod.rs deleted file mode 100644 index fa65f453..00000000 --- a/tests/integration/src/codegen/mod.rs +++ /dev/null @@ -1,15 +0,0 @@ -mod derive_object_with_raw_idents; -mod enum_derive; -mod input_object_derive; -mod interface_attr_struct; -mod interface_attr_trait; -mod interface_derive; -mod object_attr; -mod object_derive; -mod scalar_attr_derive_input; -mod scalar_attr_type_alias; -mod scalar_derive; -mod scalar_value_derive; -mod subscription_attr; -mod union_attr; -mod union_derive; diff --git a/tests/integration/src/infallible_as_field_error.rs b/tests/integration/src/infallible_as_field_error.rs deleted file mode 100644 index 6a4539ff..00000000 --- a/tests/integration/src/infallible_as_field_error.rs +++ /dev/null @@ -1,8 +0,0 @@ -struct Query; - -#[juniper::graphql_object] -impl Query { - fn ping() -> Result { - Ok(false) - } -} diff --git a/tests/integration/src/lib.rs b/tests/integration/src/lib.rs deleted file mode 100644 index 39ce67a1..00000000 --- a/tests/integration/src/lib.rs +++ /dev/null @@ -1,101 +0,0 @@ -#![deny(rust_2018_idioms)] - -#[cfg(test)] -mod arc_fields; -#[cfg(test)] -mod array; -#[cfg(test)] -mod codegen; -#[cfg(test)] -mod custom_scalar; -#[cfg(test)] -mod explicit_null; -#[cfg(test)] -mod infallible_as_field_error; -#[cfg(test)] -mod inside_macro; -#[cfg(test)] -mod issue_371; -#[cfg(test)] -mod issue_372; -#[cfg(test)] -mod issue_398; -#[cfg(test)] -mod issue_407; -#[cfg(test)] -mod issue_500; -#[cfg(test)] -mod issue_798; -#[cfg(test)] -mod issue_914; -#[cfg(test)] -mod issue_922; -#[cfg(test)] -mod issue_925; -#[cfg(test)] -mod issue_945; -#[cfg(test)] -mod pre_parse; - -#[cfg(test)] -/// Common utilities used across tests. -pub(crate) mod util { - use futures::StreamExt as _; - use juniper::{ - graphql_value, DefaultScalarValue, EmptyMutation, EmptySubscription, ExecutionError, - GraphQLError, GraphQLType, RootNode, ScalarValue, Value, ValuesStream, - }; - - pub(crate) fn schema<'q, C, Q>( - query_root: Q, - ) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> - where - Q: GraphQLType + 'q, - { - RootNode::new( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) - } - - pub(crate) fn schema_with_scalar<'q, S, C, Q>( - query_root: Q, - ) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> - where - Q: GraphQLType + 'q, - S: ScalarValue + 'q, - { - RootNode::new_with_scalar_value( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) - } - - /// Extracts a single next value from the result returned by - /// [`juniper::resolve_into_stream()`] and transforms it into a regular - /// [`Value`]. - pub(crate) async fn extract_next( - input: Result<(Value>, Vec>), GraphQLError>, - ) -> Result<(Value, Vec>), GraphQLError> { - let (stream, errs) = input?; - if !errs.is_empty() { - return Ok((Value::Null, errs)); - } - - if let Value::Object(obj) = stream { - for (name, mut val) in obj { - if let Value::Scalar(ref mut stream) = val { - return match stream.next().await { - Some(Ok(val)) => Ok((graphql_value!({ name: val }), vec![])), - Some(Err(e)) => Ok((Value::Null, vec![e])), - None => Ok((Value::Null, vec![])), - }; - } - } - } - - panic!("Expected to get Value::Object containing a Stream") - } -} diff --git a/tests/integration/src/arc_fields.rs b/tests/integration/tests/arc_fields.rs similarity index 61% rename from tests/integration/src/arc_fields.rs rename to tests/integration/tests/arc_fields.rs index 5f7799f9..75e97921 100644 --- a/tests/integration/src/arc_fields.rs +++ b/tests/integration/tests/arc_fields.rs @@ -1,15 +1,17 @@ use std::sync::Arc; +use juniper::{graphql_object, GraphQLInputObject}; + struct Query; -#[juniper::graphql_object] +#[graphql_object] impl Query { fn ping() -> Arc { Arc::new(false) } } -#[derive(juniper::GraphQLInputObject)] +#[derive(GraphQLInputObject)] struct Ping { expect_result: Arc, } diff --git a/tests/integration/src/array.rs b/tests/integration/tests/array.rs similarity index 100% rename from tests/integration/src/array.rs rename to tests/integration/tests/array.rs diff --git a/tests/integration/src/codegen/derive_object_with_raw_idents.rs b/tests/integration/tests/codegen_derive_object_with_raw_idents.rs similarity index 100% rename from tests/integration/src/codegen/derive_object_with_raw_idents.rs rename to tests/integration/tests/codegen_derive_object_with_raw_idents.rs diff --git a/tests/integration/src/codegen/enum_derive.rs b/tests/integration/tests/codegen_enum_derive.rs similarity index 99% rename from tests/integration/src/codegen/enum_derive.rs rename to tests/integration/tests/codegen_enum_derive.rs index 24aed858..295a2ead 100644 --- a/tests/integration/src/codegen/enum_derive.rs +++ b/tests/integration/tests/codegen_enum_derive.rs @@ -1,11 +1,13 @@ //! Tests for `#[derive(GraphQLEnum)]` macro. +pub mod common; + use juniper::{ execute, graphql_object, graphql_value, graphql_vars, parser::SourcePosition, DefaultScalarValue, ExecutionError, FieldError, GraphQLEnum, ScalarValue, }; -use crate::util::{schema, schema_with_scalar}; +use self::common::util::{schema, schema_with_scalar}; mod trivial { use super::*; @@ -785,7 +787,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; @@ -821,7 +823,6 @@ mod custom_scalar { } mod explicit_generic_scalar { - use super::*; #[derive(GraphQLEnum)] diff --git a/tests/integration/src/codegen/input_object_derive.rs b/tests/integration/tests/codegen_input_object_derive.rs similarity index 99% rename from tests/integration/src/codegen/input_object_derive.rs rename to tests/integration/tests/codegen_input_object_derive.rs index 9f537f92..d3113644 100644 --- a/tests/integration/src/codegen/input_object_derive.rs +++ b/tests/integration/tests/codegen_input_object_derive.rs @@ -1,11 +1,13 @@ //! Tests for `#[derive(GraphQLInputObject)]` macro. +pub mod common; + use juniper::{ execute, graphql_object, graphql_value, graphql_vars, parser::SourcePosition, GraphQLError, GraphQLInputObject, RuleError, }; -use crate::util::schema; +use self::common::util::schema; mod trivial { use super::*; diff --git a/tests/integration/src/codegen/interface_attr_struct.rs b/tests/integration/tests/codegen_interface_attr_struct.rs similarity index 99% rename from tests/integration/src/codegen/interface_attr_struct.rs rename to tests/integration/tests/codegen_interface_attr_struct.rs index 5c91b8b7..b7b41178 100644 --- a/tests/integration/src/codegen/interface_attr_struct.rs +++ b/tests/integration/tests/codegen_interface_attr_struct.rs @@ -1,5 +1,7 @@ //! Tests for `#[graphql_interface]` macro placed on a struct. +pub mod common; + use std::marker::PhantomData; use juniper::{ @@ -7,7 +9,7 @@ use juniper::{ FieldError, FieldResult, GraphQLObject, GraphQLUnion, IntoFieldError, ScalarValue, ID, }; -use crate::util::{schema, schema_with_scalar}; +use self::common::util::{schema, schema_with_scalar}; mod no_implers { use super::*; @@ -1611,7 +1613,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/interface_attr_trait.rs b/tests/integration/tests/codegen_interface_attr_trait.rs similarity index 99% rename from tests/integration/src/codegen/interface_attr_trait.rs rename to tests/integration/tests/codegen_interface_attr_trait.rs index 0ee39c8b..1556e6a9 100644 --- a/tests/integration/src/codegen/interface_attr_trait.rs +++ b/tests/integration/tests/codegen_interface_attr_trait.rs @@ -1,12 +1,14 @@ //! Tests for `#[graphql_interface]` macro placed on a trait. +pub mod common; + use juniper::{ execute, graphql_interface, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, Executor, FieldError, FieldResult, GraphQLInputObject, GraphQLObject, GraphQLUnion, IntoFieldError, ScalarValue, ID, }; -use crate::util::{schema, schema_with_scalar}; +use self::common::util::{schema, schema_with_scalar}; mod no_implers { use super::*; @@ -1927,7 +1929,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/interface_derive.rs b/tests/integration/tests/codegen_interface_derive.rs similarity index 99% rename from tests/integration/src/codegen/interface_derive.rs rename to tests/integration/tests/codegen_interface_derive.rs index f5a24bf3..6eb5f0f4 100644 --- a/tests/integration/src/codegen/interface_derive.rs +++ b/tests/integration/tests/codegen_interface_derive.rs @@ -1,5 +1,7 @@ //! Tests for `#[derive(GraphQLInterface)]` macro. +pub mod common; + use std::marker::PhantomData; use juniper::{ @@ -7,7 +9,7 @@ use juniper::{ FieldResult, GraphQLInterface, GraphQLObject, GraphQLUnion, IntoFieldError, ScalarValue, ID, }; -use crate::util::{schema, schema_with_scalar}; +use self::common::util::{schema, schema_with_scalar}; mod no_implers { use super::*; @@ -1624,7 +1626,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/object_attr.rs b/tests/integration/tests/codegen_object_attr.rs similarity index 98% rename from tests/integration/src/codegen/object_attr.rs rename to tests/integration/tests/codegen_object_attr.rs index 6c3cdd9d..dc813e4c 100644 --- a/tests/integration/src/codegen/object_attr.rs +++ b/tests/integration/tests/codegen_object_attr.rs @@ -1,35 +1,13 @@ //! Tests for `#[graphql_object]` macro. +pub mod common; + use juniper::{ - execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, EmptyMutation, - EmptySubscription, Executor, FieldError, FieldResult, GraphQLInputObject, GraphQLObject, - GraphQLType, IntoFieldError, RootNode, ScalarValue, + execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, Executor, FieldError, + FieldResult, GraphQLInputObject, GraphQLObject, IntoFieldError, ScalarValue, }; -fn schema<'q, C, Q>(query_root: Q) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> -where - Q: GraphQLType + 'q, -{ - RootNode::new( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - -fn schema_with_scalar<'q, S, C, Q>( - query_root: Q, -) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> -where - Q: GraphQLType + 'q, - S: ScalarValue + 'q, -{ - RootNode::new_with_scalar_value( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} +use self::common::util::{schema, schema_with_scalar}; mod trivial { use super::*; @@ -1667,7 +1645,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/object_derive.rs b/tests/integration/tests/codegen_object_derive.rs similarity index 96% rename from tests/integration/src/codegen/object_derive.rs rename to tests/integration/tests/codegen_object_derive.rs index 9b0b86d8..b3ab2299 100644 --- a/tests/integration/src/codegen/object_derive.rs +++ b/tests/integration/tests/codegen_object_derive.rs @@ -1,34 +1,13 @@ //! Tests for `#[derive(GraphQLObject)]` macro. +pub mod common; + use juniper::{ - execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, EmptyMutation, - EmptySubscription, GraphQLObject, GraphQLType, RootNode, ScalarValue, + execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, GraphQLObject, + ScalarValue, }; -fn schema<'q, C, Q>(query_root: Q) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> -where - Q: GraphQLType + 'q, -{ - RootNode::new( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - -fn schema_with_scalar<'q, S, C, Q>( - query_root: Q, -) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> -where - Q: GraphQLType + 'q, - S: ScalarValue + 'q, -{ - RootNode::new_with_scalar_value( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} +use self::common::util::{schema, schema_with_scalar}; mod trivial { use super::*; @@ -851,7 +830,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/scalar_attr_derive_input.rs b/tests/integration/tests/codegen_scalar_attr_derive_input.rs similarity index 99% rename from tests/integration/src/codegen/scalar_attr_derive_input.rs rename to tests/integration/tests/codegen_scalar_attr_derive_input.rs index dd10bd30..b691aea5 100644 --- a/tests/integration/src/codegen/scalar_attr_derive_input.rs +++ b/tests/integration/tests/codegen_scalar_attr_derive_input.rs @@ -2,6 +2,8 @@ //! //! [`DeriveInput`]: syn::DeriveInput +pub mod common; + use std::fmt; use chrono::{DateTime, TimeZone, Utc}; @@ -10,9 +12,9 @@ use juniper::{ ParseScalarResult, ParseScalarValue, ScalarToken, ScalarValue, Value, }; -use crate::{ - custom_scalar::MyScalarValue, +use self::common::{ util::{schema, schema_with_scalar}, + MyScalarValue, }; mod trivial { diff --git a/tests/integration/src/codegen/scalar_attr_type_alias.rs b/tests/integration/tests/codegen_scalar_attr_type_alias.rs similarity index 99% rename from tests/integration/src/codegen/scalar_attr_type_alias.rs rename to tests/integration/tests/codegen_scalar_attr_type_alias.rs index 900f0612..e6af88b3 100644 --- a/tests/integration/src/codegen/scalar_attr_type_alias.rs +++ b/tests/integration/tests/codegen_scalar_attr_type_alias.rs @@ -1,5 +1,7 @@ //! Tests for `#[graphql_scalar]` macro placed on a type alias. +pub mod common; + use std::fmt; use chrono::{DateTime, TimeZone, Utc}; @@ -8,9 +10,9 @@ use juniper::{ ParseScalarResult, ParseScalarValue, ScalarToken, ScalarValue, Value, }; -use crate::{ - custom_scalar::MyScalarValue, +use self::common::{ util::{schema, schema_with_scalar}, + MyScalarValue, }; mod all_custom_resolvers { diff --git a/tests/integration/src/codegen/scalar_derive.rs b/tests/integration/tests/codegen_scalar_derive.rs similarity index 99% rename from tests/integration/src/codegen/scalar_derive.rs rename to tests/integration/tests/codegen_scalar_derive.rs index bdf9791d..118fb010 100644 --- a/tests/integration/src/codegen/scalar_derive.rs +++ b/tests/integration/tests/codegen_scalar_derive.rs @@ -1,5 +1,7 @@ //! Tests for `#[derive(GraphQLScalar)]` macro. +pub mod common; + use std::fmt; use chrono::{DateTime, TimeZone, Utc}; @@ -8,9 +10,9 @@ use juniper::{ ParseScalarResult, ParseScalarValue, ScalarToken, ScalarValue, Value, }; -use crate::{ - custom_scalar::MyScalarValue, +use self::common::{ util::{schema, schema_with_scalar}, + MyScalarValue, }; mod trivial { diff --git a/tests/integration/src/codegen/scalar_value_derive.rs b/tests/integration/tests/codegen_scalar_value_derive.rs similarity index 100% rename from tests/integration/src/codegen/scalar_value_derive.rs rename to tests/integration/tests/codegen_scalar_value_derive.rs diff --git a/tests/integration/src/codegen/subscription_attr.rs b/tests/integration/tests/codegen_subscription_attr.rs similarity index 99% rename from tests/integration/src/codegen/subscription_attr.rs rename to tests/integration/tests/codegen_subscription_attr.rs index 94214235..09ffa957 100644 --- a/tests/integration/src/codegen/subscription_attr.rs +++ b/tests/integration/tests/codegen_subscription_attr.rs @@ -1,5 +1,7 @@ //! Tests for `#[graphql_subscription]` macro. +pub mod common; + use std::pin::Pin; use futures::{future, stream, FutureExt as _}; @@ -9,7 +11,7 @@ use juniper::{ GraphQLInputObject, GraphQLType, IntoFieldError, RootNode, ScalarValue, }; -use crate::util::extract_next; +use self::common::util::extract_next; struct Query; @@ -1351,7 +1353,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/union_attr.rs b/tests/integration/tests/codegen_union_attr.rs similarity index 97% rename from tests/integration/src/codegen/union_attr.rs rename to tests/integration/tests/codegen_union_attr.rs index 51e9da89..23085ef5 100644 --- a/tests/integration/src/codegen/union_attr.rs +++ b/tests/integration/tests/codegen_union_attr.rs @@ -1,10 +1,14 @@ //! Tests for `#[graphql_union]` macro. +pub mod common; + use juniper::{ execute, graphql_object, graphql_union, graphql_value, graphql_vars, DefaultScalarValue, - EmptyMutation, EmptySubscription, GraphQLObject, GraphQLType, RootNode, ScalarValue, + GraphQLObject, ScalarValue, }; +use self::common::util::{schema, schema_with_scalar}; + #[derive(GraphQLObject)] struct Human { id: String, @@ -51,31 +55,6 @@ struct EwokCustomContext { funny: bool, } -fn schema<'q, C, Q>(query_root: Q) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> -where - Q: GraphQLType + 'q, -{ - RootNode::new( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - -fn schema_with_scalar<'q, S, C, Q>( - query_root: Q, -) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> -where - Q: GraphQLType + 'q, - S: ScalarValue + 'q, -{ - RootNode::new_with_scalar_value( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - mod trivial { use super::*; @@ -570,7 +549,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/src/codegen/union_derive.rs b/tests/integration/tests/codegen_union_derive.rs similarity index 98% rename from tests/integration/src/codegen/union_derive.rs rename to tests/integration/tests/codegen_union_derive.rs index ffab8d91..034e34d2 100644 --- a/tests/integration/src/codegen/union_derive.rs +++ b/tests/integration/tests/codegen_union_derive.rs @@ -1,12 +1,16 @@ //! Tests for `#[derive(GraphQLUnion)]` macro. +pub mod common; + use std::marker::PhantomData; use juniper::{ - execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, EmptyMutation, - EmptySubscription, GraphQLObject, GraphQLType, GraphQLUnion, RootNode, ScalarValue, + execute, graphql_object, graphql_value, graphql_vars, DefaultScalarValue, GraphQLObject, + GraphQLUnion, ScalarValue, }; +use self::common::util::{schema, schema_with_scalar}; + #[derive(GraphQLObject)] struct Human { id: String, @@ -53,31 +57,6 @@ struct EwokCustomContext { funny: bool, } -fn schema<'q, C, Q>(query_root: Q) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> -where - Q: GraphQLType + 'q, -{ - RootNode::new( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - -fn schema_with_scalar<'q, S, C, Q>( - query_root: Q, -) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> -where - Q: GraphQLType + 'q, - S: ScalarValue + 'q, -{ - RootNode::new_with_scalar_value( - query_root, - EmptyMutation::::new(), - EmptySubscription::::new(), - ) -} - mod trivial_enum { use super::*; @@ -594,7 +573,7 @@ mod explicit_scalar { } mod custom_scalar { - use crate::custom_scalar::MyScalarValue; + use crate::common::MyScalarValue; use super::*; diff --git a/tests/integration/tests/common/mod.rs b/tests/integration/tests/common/mod.rs new file mode 100644 index 00000000..5dc6a277 --- /dev/null +++ b/tests/integration/tests/common/mod.rs @@ -0,0 +1,147 @@ +use std::fmt; + +use juniper::ScalarValue; +use serde::{de, Deserialize, Deserializer, Serialize}; + +/// Common utilities used across tests. +pub mod util { + use futures::StreamExt as _; + use juniper::{ + graphql_value, DefaultScalarValue, EmptyMutation, EmptySubscription, ExecutionError, + GraphQLError, GraphQLType, RootNode, ScalarValue, Value, ValuesStream, + }; + + pub fn schema<'q, C, Q>( + query_root: Q, + ) -> RootNode<'q, Q, EmptyMutation, EmptySubscription> + where + Q: GraphQLType + 'q, + { + RootNode::new( + query_root, + EmptyMutation::::new(), + EmptySubscription::::new(), + ) + } + + pub fn schema_with_scalar<'q, S, C, Q>( + query_root: Q, + ) -> RootNode<'q, Q, EmptyMutation, EmptySubscription, S> + where + Q: GraphQLType + 'q, + S: ScalarValue + 'q, + { + RootNode::new_with_scalar_value( + query_root, + EmptyMutation::::new(), + EmptySubscription::::new(), + ) + } + + /// Extracts a single next value from the result returned by + /// [`juniper::resolve_into_stream()`] and transforms it into a regular + /// [`Value`]. + pub async fn extract_next( + input: Result<(Value>, Vec>), GraphQLError>, + ) -> Result<(Value, Vec>), GraphQLError> { + let (stream, errs) = input?; + if !errs.is_empty() { + return Ok((Value::Null, errs)); + } + + if let Value::Object(obj) = stream { + for (name, mut val) in obj { + if let Value::Scalar(ref mut stream) = val { + return match stream.next().await { + Some(Ok(val)) => Ok((graphql_value!({ name: val }), vec![])), + Some(Err(e)) => Ok((Value::Null, vec![e])), + None => Ok((Value::Null, vec![])), + }; + } + } + } + + panic!("Expected to get Value::Object containing a Stream") + } +} + +#[derive(Clone, Debug, PartialEq, ScalarValue, Serialize)] +#[serde(untagged)] +pub enum MyScalarValue { + #[value(as_float, as_int)] + Int(i32), + Long(i64), + #[value(as_float)] + Float(f64), + #[value(as_str, as_string, into_string)] + String(String), + #[value(as_bool)] + Boolean(bool), +} + +impl<'de> Deserialize<'de> for MyScalarValue { + fn deserialize>(de: D) -> Result { + struct Visitor; + + impl<'de> de::Visitor<'de> for Visitor { + type Value = MyScalarValue; + + fn expecting(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str("a valid input value") + } + + fn visit_bool(self, b: bool) -> Result { + Ok(MyScalarValue::Boolean(b)) + } + + fn visit_i32(self, n: i32) -> Result { + Ok(MyScalarValue::Int(n)) + } + + fn visit_i64(self, b: i64) -> Result { + if b <= i64::from(i32::MAX) { + self.visit_i32(b.try_into().unwrap()) + } else { + Ok(MyScalarValue::Long(b)) + } + } + + fn visit_u32(self, n: u32) -> Result { + if n <= i32::MAX as u32 { + self.visit_i32(n.try_into().unwrap()) + } else { + self.visit_u64(n.into()) + } + } + + fn visit_u64(self, n: u64) -> Result { + if n <= i64::MAX as u64 { + self.visit_i64(n.try_into().unwrap()) + } else { + // Browser's `JSON.stringify()` serializes all numbers + // having no fractional part as integers (no decimal point), + // so we must parse large integers as floating point, + // otherwise we would error on transferring large floating + // point numbers. + // TODO: Use `FloatToInt` conversion once stabilized: + // https://github.com/rust-lang/rust/issues/67057 + Ok(MyScalarValue::Float(n as f64)) + } + } + + fn visit_f64(self, f: f64) -> Result { + Ok(MyScalarValue::Float(f)) + } + + fn visit_str(self, s: &str) -> Result { + self.visit_string(s.into()) + } + + fn visit_string(self, s: String) -> Result { + Ok(MyScalarValue::String(s)) + } + } + + de.deserialize_any(Visitor) + } +} diff --git a/tests/integration/src/custom_scalar.rs b/tests/integration/tests/custom_scalar.rs similarity index 54% rename from tests/integration/src/custom_scalar.rs rename to tests/integration/tests/custom_scalar.rs index 1d1c26ec..ac1d31cf 100644 --- a/tests/integration/src/custom_scalar.rs +++ b/tests/integration/tests/custom_scalar.rs @@ -1,95 +1,16 @@ -use std::{fmt, pin::Pin}; +pub mod common; + +use std::pin::Pin; use futures::{stream, Stream}; use juniper::{ execute, graphql_input_value, graphql_object, graphql_scalar, graphql_subscription, graphql_vars, parser::{ParseError, ScalarToken, Token}, - serde::{de, Deserialize, Deserializer, Serialize}, - EmptyMutation, FieldResult, InputValue, Object, ParseScalarResult, RootNode, ScalarValue, - Value, Variables, + EmptyMutation, FieldResult, InputValue, Object, ParseScalarResult, RootNode, Value, Variables, }; -#[derive(Clone, Debug, PartialEq, ScalarValue, Serialize)] -#[serde(untagged)] -pub(crate) enum MyScalarValue { - #[value(as_float, as_int)] - Int(i32), - Long(i64), - #[value(as_float)] - Float(f64), - #[value(as_str, as_string, into_string)] - String(String), - #[value(as_bool)] - Boolean(bool), -} - -impl<'de> Deserialize<'de> for MyScalarValue { - fn deserialize>(de: D) -> Result { - struct Visitor; - - impl<'de> de::Visitor<'de> for Visitor { - type Value = MyScalarValue; - - fn expecting(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.write_str("a valid input value") - } - - fn visit_bool(self, b: bool) -> Result { - Ok(MyScalarValue::Boolean(b)) - } - - fn visit_i32(self, n: i32) -> Result { - Ok(MyScalarValue::Int(n)) - } - - fn visit_i64(self, b: i64) -> Result { - if b <= i64::from(i32::MAX) { - self.visit_i32(b.try_into().unwrap()) - } else { - Ok(MyScalarValue::Long(b)) - } - } - - fn visit_u32(self, n: u32) -> Result { - if n <= i32::MAX as u32 { - self.visit_i32(n.try_into().unwrap()) - } else { - self.visit_u64(n.into()) - } - } - - fn visit_u64(self, n: u64) -> Result { - if n <= i64::MAX as u64 { - self.visit_i64(n.try_into().unwrap()) - } else { - // Browser's `JSON.stringify()` serializes all numbers - // having no fractional part as integers (no decimal point), - // so we must parse large integers as floating point, - // otherwise we would error on transferring large floating - // point numbers. - // TODO: Use `FloatToInt` conversion once stabilized: - // https://github.com/rust-lang/rust/issues/67057 - Ok(MyScalarValue::Float(n as f64)) - } - } - - fn visit_f64(self, f: f64) -> Result { - Ok(MyScalarValue::Float(f)) - } - - fn visit_str(self, s: &str) -> Result { - self.visit_string(s.into()) - } - - fn visit_string(self, s: String) -> Result { - Ok(MyScalarValue::String(s)) - } - } - - de.deserialize_any(Visitor) - } -} +use self::common::MyScalarValue; #[graphql_scalar(with = long, scalar = MyScalarValue)] type Long = i64; diff --git a/tests/integration/src/explicit_null.rs b/tests/integration/tests/explicit_null.rs similarity index 100% rename from tests/integration/src/explicit_null.rs rename to tests/integration/tests/explicit_null.rs diff --git a/tests/integration/tests/infallible_as_field_error.rs b/tests/integration/tests/infallible_as_field_error.rs new file mode 100644 index 00000000..43293264 --- /dev/null +++ b/tests/integration/tests/infallible_as_field_error.rs @@ -0,0 +1,12 @@ +use std::convert::Infallible; + +use juniper::graphql_object; + +struct Query; + +#[graphql_object] +impl Query { + fn ping() -> Result { + Ok(false) + } +} diff --git a/tests/integration/src/inside_macro.rs b/tests/integration/tests/inside_macro.rs similarity index 100% rename from tests/integration/src/inside_macro.rs rename to tests/integration/tests/inside_macro.rs diff --git a/tests/integration/src/issue_371.rs b/tests/integration/tests/issue_371.rs similarity index 100% rename from tests/integration/src/issue_371.rs rename to tests/integration/tests/issue_371.rs diff --git a/tests/integration/src/issue_372.rs b/tests/integration/tests/issue_372.rs similarity index 100% rename from tests/integration/src/issue_372.rs rename to tests/integration/tests/issue_372.rs diff --git a/tests/integration/src/issue_398.rs b/tests/integration/tests/issue_398.rs similarity index 100% rename from tests/integration/src/issue_398.rs rename to tests/integration/tests/issue_398.rs diff --git a/tests/integration/src/issue_407.rs b/tests/integration/tests/issue_407.rs similarity index 100% rename from tests/integration/src/issue_407.rs rename to tests/integration/tests/issue_407.rs diff --git a/tests/integration/src/issue_500.rs b/tests/integration/tests/issue_500.rs similarity index 100% rename from tests/integration/src/issue_500.rs rename to tests/integration/tests/issue_500.rs diff --git a/tests/integration/src/issue_798.rs b/tests/integration/tests/issue_798.rs similarity index 100% rename from tests/integration/src/issue_798.rs rename to tests/integration/tests/issue_798.rs diff --git a/tests/integration/src/issue_914.rs b/tests/integration/tests/issue_914.rs similarity index 100% rename from tests/integration/src/issue_914.rs rename to tests/integration/tests/issue_914.rs diff --git a/tests/integration/src/issue_922.rs b/tests/integration/tests/issue_922.rs similarity index 100% rename from tests/integration/src/issue_922.rs rename to tests/integration/tests/issue_922.rs diff --git a/tests/integration/src/issue_925.rs b/tests/integration/tests/issue_925.rs similarity index 100% rename from tests/integration/src/issue_925.rs rename to tests/integration/tests/issue_925.rs diff --git a/tests/integration/src/issue_945.rs b/tests/integration/tests/issue_945.rs similarity index 100% rename from tests/integration/src/issue_945.rs rename to tests/integration/tests/issue_945.rs diff --git a/tests/integration/src/pre_parse.rs b/tests/integration/tests/pre_parse.rs similarity index 99% rename from tests/integration/src/pre_parse.rs rename to tests/integration/tests/pre_parse.rs index 28415ffc..df2f97e3 100644 --- a/tests/integration/src/pre_parse.rs +++ b/tests/integration/tests/pre_parse.rs @@ -1,3 +1,5 @@ +use std::pin::Pin; + use futures::{Stream, StreamExt, TryFutureExt}; use juniper::{ executor::{execute_validated_query_async, get_operation, resolve_validated_subscription}, @@ -6,7 +8,6 @@ use juniper::{ validation::{validate_input_values, visit_all_rules, ValidatorContext}, EmptyMutation, FieldError, OperationType, RootNode, }; -use std::pin::Pin; pub struct Context;