]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0044.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0044.stderr
1 error[E0044]: foreign items may not have type parameters
2   --> $DIR/E0044.rs:2:5
3    |
4 LL |     fn sqrt<T>(f: T) -> T;
5    |     ^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
6    |
7    = help: replace the type parameters with concrete types like `u32`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0044`.