Update trybuild tests

There's a new stable release of Rust, error messages were tweaked.
This commit is contained in:
Jonas Platte 2023-11-20 20:30:46 +01:00
parent 740f357e97
commit 5446ea979b
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -6,7 +6,7 @@ error[E0080]: evaluation of constant value failed
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `ruma_common::session_id` (in Nightly builds, run with -Z macro-backtrace for more info)
note: erroneous constant used
note: erroneous constant encountered
--> tests/identifiers/ui/03-invalid-new-id-macros.rs:2:13
|
2 | let _ = ruma_common::session_id!("invalid~");