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
sslb.set_verify_callback(openssl::ssl::SslVerifyMode.PEER, |_, _| true);// accept all certificates
^^^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `openssl::ssl::SslVerifyMode { /* fields */ }`?
A better error would be to suggest openssl::ssl::SslVerifyMode::PEER, because if the type has a member of this name, it is very likely a typo
The text was updated successfully, but these errors were encountered:
…vidtwco
Provide suggestion when using field access instead of path
When trying to access an associated constant as if it were a field of
an instance, provide a suggestion for the correct syntax.
Fixrust-lang#57316.
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 26, 2019
…vidtwco
Provide suggestion when using field access instead of path
When trying to access an associated constant as if it were a field of
an instance, provide a suggestion for the correct syntax.
Fixrust-lang#57316.
I wrote the following code, and got this error.
A better error would be to suggest
openssl::ssl::SslVerifyMode::PEER
, because if the type has a member of this name, it is very likely a typoThe text was updated successfully, but these errors were encountered: