rust/tests/ui/dropck/dropck-only-error.stderr
Matthew Jasper 87e5969572 Update tests for dropck normalization errors
Takes crash tests from #135039, #103899, #91985 and #105299 and turns them into ui tests
2025-02-17 11:33:07 +00:00

10 lines
385 B
Plaintext

error[E0277]: the trait bound `User: AuthUser` is not satisfied
--> $DIR/dropck-only-error.rs:20:31
|
LL | pub fn run_query<User: Authz>(auth: AuthSession<User::AuthnBackend>) {}
| ^^^^ the trait `AuthUser` is not implemented for `User`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.