Revert "feat: Diagnose some incorrect usages of the question mark operator"

This commit is contained in:
Lukas Wirth 2022-10-18 14:18:59 +02:00 committed by GitHub
parent 4d4c05d32b
commit 8047512dca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 125 additions and 289 deletions

View file

@ -259,7 +259,6 @@ macro_rules! __known_path {
(core::future::Future) => {};
(core::future::IntoFuture) => {};
(core::ops::Try) => {};
(core::ops::FromResidual) => {};
($path:path) => {
compile_error!("Please register your known path in the path module")
};