blob: 15b1c9df7baab0738c2bb707218955b11d4db60f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
### What it does
Warns if a generic shadows a built-in type.
### Why is this bad?
This gives surprising type errors.
### Example
```
impl<u32> Foo<u32> {
fn impl_func(&self) -> u32 {
42
}
}
```
|