about summary refs log tree commit diff
path: root/tests/ui/resolve/prim-crate-partial-res.stderr
blob: d10d37c9f1b08545e7ee625f82866bf2102ad920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0109]: type arguments are not allowed on builtin type `usize`
  --> $DIR/prim-crate-partial-res.rs:5:19
   |
LL | fn foo() -> usize<()> { 0 }
   |             ----- ^^ type argument not allowed
   |             |
   |             not allowed on builtin type `usize`
   |
help: primitive type `usize` doesn't have generic parameters
   |
LL - fn foo() -> usize<()> { 0 }
LL + fn foo() -> usize { 0 }
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0109`.