about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-28 07:06:46 +0200
committerGitHub <noreply@github.com>2022-10-28 07:06:46 +0200
commitab0d9dfefee2535ffa1a5ca8abe3b64a8e5970fd (patch)
tree929424f3bae98d917899737e59e18e3950177206 /compiler/rustc_codegen_llvm/src/common.rs
parent112fd022cd42698f644333206ef5335069b1ea13 (diff)
parentb3425587a669d81b45f0d14f7fd6ae6108bf9444 (diff)
downloadrust-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