We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n.powi(i)
Even simple non-typelevel usage of Pow trait leads to a very huge compiler error:
Example code:
use typenum::{P1, Pow}; fn doesnt_compile_with_huge_error() { P1::new().powi(P1::new()); }
This gives 344K error message (141 lines):
344K
141
% cargo build > ./err0.txt 2>&1 || ls -sh ./err0.txt && wc -l ./err0.txt 344K ./err0.txt 141 ./err0.txt
Here is a full error on gist.
The text was updated successfully, but these errors were encountered:
However, with full path specified this example works just fine:
<P1 as Pow<P1>>::powi(P1::new(), P1::new());
Sorry, something went wrong.
No branches or pull requests
Even simple non-typelevel usage of Pow trait leads to a very huge compiler error:
Example code:
This gives
344K
error message (141
lines):Here is a full error on gist.
The text was updated successfully, but these errors were encountered: