anchor.diff:        });
         config = mkMerge [
           {
  -          _module.checks.${showOption from} = mkIf (warn && fromOpt.isDefined) {
  +          _module.checks.${"renamed-" + showOption from} = mkIf (warn && fromOpt.isDefined) {
               type = "warning";
               message = "The option `${showOption from}' defined in ${showFiles fromOpt.files} has been renamed to `${showOption to}'.";
             };
  
positive.code:       });
        config._module.checks =
          let opt = getAttrFromPath optionName options; in {
          ${showOption optionName} = lib.mkIf opt.isDefined {
            message = ''
              The option definition `${showOption optionName}' in ${showFiles opt.files} no longer has any effect; please remove it.
              ${replacementInstructions}
  
negative.code:             let val = getAttrFromPath f config;
                  opt = getAttrFromPath f options;
              in {
                ${"merged" + showOption f} = lib.mkIf (val != "_mkMergedOptionModule") {
                  type = "warning";
                  message = "The option `${showOption f}' defined in ${showFiles opt.files} has been changed to `${showOption to}' that has a different type. Please read `${showOption to}' documentation and update your configuration accordingly.";
                };
  