diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-06 23:53:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-06 23:53:17 +0200 |
| commit | 4ce2db5b31fcf7a40aa6f7cbb466c8387905cf47 (patch) | |
| tree | 007bd0b0d6920817550de0b13370f123d9702725 /compiler/rustc_codegen_gcc | |
| parent | 93ca0af08ca056e9e38d172e9b224d1e607a8e99 (diff) | |
| parent | 35cb28b7cfd2659bb1ac5ebed026694770199d0d (diff) | |
| download | rust-4ce2db5b31fcf7a40aa6f7cbb466c8387905cf47.tar.gz rust-4ce2db5b31fcf7a40aa6f7cbb466c8387905cf47.zip | |
Rollup merge of #142043 - estebank:const-suggestion, r=wesleywiser
Verbose suggestion to make param `const`
```
error[E0747]: type provided when a constant was expected
--> $DIR/invalid-const-arguments.rs:10:19
|
LL | impl<N> Foo for B<N> {}
| ^
|
help: consider changing this type parameter to a const parameter
|
LL - impl<N> Foo for B<N> {}
LL + impl<const N: u8> Foo for B<N> {}
|
```
Part of rust-lang/rust#141973.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
