rust/tests/ui/dropck/dropck-only-error.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
385 B
Plaintext
Raw Normal View History

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`.