From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 4E34C1FF179 for ; Wed, 10 Dec 2025 11:48:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CCD3C18594; Wed, 10 Dec 2025 11:49:30 +0100 (CET) From: Dominik Csapak To: yew-devel@lists.proxmox.com Date: Wed, 10 Dec 2025 11:48:48 +0100 Message-ID: <20251210104856.1698157-2-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251210104856.1698157-1-d.csapak@proxmox.com> References: <20251210104856.1698157-1-d.csapak@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.029 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [yew-devel] [PATCH yew-widget-toolkit 1/3] pwt-macros: update tests to work for newer rustc X-BeenThere: yew-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Yew framework devel list at Proxmox List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yew framework devel list at Proxmox Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" we now use rustc 1.90, the error messages and file/lines changed a bit Signed-off-by: Dominik Csapak --- pwt-macros/tests/builder/invalid_type.stderr | 2 +- pwt-macros/tests/widget/wrong_crate.stderr | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pwt-macros/tests/builder/invalid_type.stderr b/pwt-macros/tests/builder/invalid_type.stderr index d1f86fe..665f828 100644 --- a/pwt-macros/tests/builder/invalid_type.stderr +++ b/pwt-macros/tests/builder/invalid_type.stderr @@ -16,4 +16,4 @@ help: the return type of this call is `{float}` due to the type of the argument 6 | | wrong_type: i32, | |______________^ note: method defined here - --> /usr/src/rustc-1.85.0/library/core/src/option.rs:998:12 + --> /usr/src/rustc-1.90.0/library/core/src/option.rs:1031:18 diff --git a/pwt-macros/tests/widget/wrong_crate.stderr b/pwt-macros/tests/widget/wrong_crate.stderr index 115e038..8a9682f 100644 --- a/pwt-macros/tests/widget/wrong_crate.stderr +++ b/pwt-macros/tests/widget/wrong_crate.stderr @@ -1,5 +1,7 @@ -error[E0433]: failed to resolve: use of undeclared crate or module `wrong` +error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wrong` --> tests/widget/wrong_crate.rs:34:14 | 34 | #[widget(pwt=wrong, comp=Foo, @input, @element)] - | ^^^^^ use of undeclared crate or module `wrong` + | ^^^^^ use of unresolved module or unlinked crate `wrong` + | + = help: if you wanted to use a crate named `wrong`, use `cargo add wrong` to add it to your `Cargo.toml` -- 2.47.3 _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel