diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-28 07:06:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-28 07:06:46 +0200 |
| commit | ab0d9dfefee2535ffa1a5ca8abe3b64a8e5970fd (patch) | |
| tree | 929424f3bae98d917899737e59e18e3950177206 /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 112fd022cd42698f644333206ef5335069b1ea13 (diff) | |
| parent | b3425587a669d81b45f0d14f7fd6ae6108bf9444 (diff) | |
| download | rust-ab0d9dfefee2535ffa1a5ca8abe3b64a8e5970fd.tar.gz rust-ab0d9dfefee2535ffa1a5ca8abe3b64a8e5970fd.zip | |
Rollup merge of #103609 - BoxyUwU:fix_impl_self_cycle, r=compiler-errors
Emit a nicer error on `impl Self {`
currently it emits a "cycle detected error" but this PR makes it emit a more user friendly error specifically saying that `Self` is disallowed in that position. this is a pretty hacky fix so i dont expect this to be merged (I basically only made this PR because i wanted to see if CI passes)
r? ``@compiler-errors``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
