Auto merge of #27139 - pnkfelix:allow-disable-debuginfo, r=dotdash
Auto merge of #27139 - pnkfelix:allow-disable-debuginfo, r=dotdash

fix `configure`: allow both `--enable-debug` and `--disable-debuginfo` in one invocation.

This is my very local fix to allow one to be able to (1.) build `rustc` and (2.) run `make check` with internal debug-mode *assertions* turned on in the presence of bugs like  #26447 and #26484 (both of which are solely caused by debuginfo and thus can be sidestepped via `--disable-debuginfo`).

This partially addresses #24416 (namely, it addresses the papercut outlined in the description of that ticket).  But there are other issues mentioned in the comment thread that are not addressed here, so they should be separately addressed before closing that ticket, or separate bugs should be opened for them.

jashank/rust,dwillmer/rust,graydon/rust,aidancully/rust,jroesch/rust,graydon/rust,jashank/rust,aidancully/rust,zubron/rust,jashank/rust,pshc/rust,jashank/rust,aidancully/rust,GBGamer/rust,zubron/rust,jroesch/rust,zubron/rust,l0kod/rust,pshc/rust,aidancully/rust,dwillmer/rust,vhbit/rust,vhbit/rust,jroesch/rust,jroesch/rust,l0kod/rust,aidancully/rust,vhbit/rust,zubron/rust,jroesch/rust,jashank/rust,l0kod/rust,vhbit/rust,GBGamer/rust,aidancully/rust,dwillmer/rust,vhbit/rust,l0kod/rust,dwillmer/rust,zubron/rust,vhbit/rust,graydon/rust,dwillmer/rust,l0kod/rust,l0kod/rust,graydon/rust,dwillmer/rust,zubron/rust,GBGamer/rust,vhbit/rust,zubron/rust,l0kod/rust,GBGamer/rust,jashank/rust,pshc/rust,jroesch/rust,GBGamer/rust,dwillmer/rust,pshc/rust,graydon/rust,pshc/rust,vhbit/rust,jashank/rust,graydon/rust,GBGamer/rust,GBGamer/rust,zubron/rust,jroesch/rust,GBGamer/rust,jashank/rust,pshc/rust,pshc/rust,l0kod/rust,pshc/rust,dwillmer/rust,jroesch/rust