You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the following to tests/integrations/basic/tests/actual_tests:
#![deny(non_ascii_idents)]fnmain(){let 电脑 = 1;}
It hits a panic
error: actual output differed from expected
Execute `cargo test` to update `tests/integrations/basic/Cargo.stderr` to the actual output
--- tests/integrations/basic/Cargo.stderr
+++ <stderr output>
+thread 'main' panicked at /home/gh-Alexendoo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/annotate-snippets-0.11.2/src/renderer/display_list.rs:LL:CC:
+byte index 10 is not a char boundary; it is inside '电' (bytes 8..11) of ` let 电脑 = 1;`
The text was updated successfully, but these errors were encountered:
Add the following to
tests/integrations/basic/tests/actual_tests
:It hits a panic
The text was updated successfully, but these errors were encountered: