public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [yew-devel] [PATCH yew-widget-toolkit 1/3] pwt-macros: update tests to work for newer rustc
Date: Wed, 10 Dec 2025 11:48:48 +0100	[thread overview]
Message-ID: <20251210104856.1698157-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20251210104856.1698157-1-d.csapak@proxmox.com>

we now use rustc 1.90, the error messages and file/lines changed a bit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 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


  reply	other threads:[~2025-12-10 10:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 10:48 [yew-devel] [RFC yew-comp/yew-widget-toolkit 0/4] make RenderFn's return type generic Dominik Csapak
2025-12-10 10:48 ` Dominik Csapak [this message]
2025-12-10 10:48 ` [yew-devel] [PATCH yew-widget-toolkit 2/3] pwt-macros: builder: allow multiple generic types in callback variant Dominik Csapak
2025-12-10 10:48 ` [yew-devel] [PATCH yew-widget-toolkit 3/3] props: make RenderFn's return type generic Dominik Csapak
2025-12-10 10:48 ` [yew-devel] [PATCH yew-comp 1/1] rrd: replace TextRenderFn with new generic RenderFn Dominik Csapak
2025-12-11  9:35 ` [yew-devel] applied: [RFC yew-comp/yew-widget-toolkit 0/4] make RenderFn's return type generic Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251210104856.1698157-2-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal