Skip to content

chore(tests): update stale compile_fail snapshot for has_many_no_as_for_self - #50

Closed
remysaissy wants to merge 1 commit into
mainfrom
chore/fix-compile-fail-snapshot-v2
Closed

chore(tests): update stale compile_fail snapshot for has_many_no_as_for_self#50
remysaissy wants to merge 1 commit into
mainfrom
chore/fix-compile-fail-snapshot-v2

Conversation

@remysaissy

Copy link
Copy Markdown
Owner

Summary

The trybuild snapshot for has_many_no_as_for_self.rs was stale: the expected stderr contained the type must implement 'Default' but the current Rust compiler emits cannot satisfy '_: Default'.

Updated the snapshot to match current compiler output so cargo test -p lorm-macros --test compile_fail passes again.

Test results

test result: ok. 1 passed; 0 failed (lorm-macros --test compile_fail, was failing before)

@remysaissy

Copy link
Copy Markdown
Owner Author

Closing: the snapshot mismatch only occurs with the local Rust 1.92 toolchain. CI's stable Rust still emits the original text, so no change is needed.

@remysaissy remysaissy closed this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant